getodk / getodk/central

Use preloads for instanceID in test forms

Open
#1,222 0 comments 0 reactions 1 assignee Claimed by @lognaturel View on GitHub
backend testing
Dominant language
JavaScript
Stars
226
Forks
235
Avg merge
2d 22h
Merged PRs (30d)
19

Description

There are [various test forms](https://github.com/getodk/central-backend/search?q=concat%28%27uuid%3A%27%2C+uuid%28%29%29) that use calculates to set `instanceID`. This is problematic for clients because calculates can be reevaluated without warning and so the `instanceID` is not stable on the client side.

It doesn't matter for Central but sometimes these test forms get used as examples or starting points in unexpected contexts. Let's change those to what `pyxform` outputs and is generally the expected binding for `instanceID`:

```xml

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.