Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Number in JSON Schema should be updated when Version Number is changed #104

Open
gracepotma opened this issue Apr 29, 2023 · 0 comments

Comments

@gracepotma
Copy link
Contributor

Replication Steps:

  1. Go to an existing form
  2. Make some changes
  3. Save your changes as a "new version", with a new version number
  4. Notice that the version number in the JSON schema did not get updated --> This is especially relevant for forms you are about to save in your config files, because you can easily end up with many different form version numbers, but they are all the same version in the JSON!

Example in dev3 right now: Laboratory Tests version 2.1 was successfully saved as version 2.1, but in the JSON, you can see it is still written as "version 2".
image
image

Expected: Whatever version number the user enters in the Save Details Modal should automatically update the "version" tag in the JSON file, when the user clicks "Save" on the modal.

Let me know if this is not clear :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant