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

Setting the version number when updating a schema overwrites the original document. #245

Closed
VolkerHartmann opened this issue Mar 15, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@VolkerHartmann
Copy link
Contributor

Describe the bug
When updating a Schema document that specifies 0 as the current version, version 1 of the Schema document is overwritten.

To Reproduce
Steps to reproduce the behavior:

  1. Register a new schema
  2. Update schema with providing a schema record with schemaVersion = 0 ({[...]"schemaVersion":0,[...]}).'
  3. Download version 1 of schema document.
  4. Version 1 is no longer available.

Expected behavior
Version 1 should be still accessible.

@VolkerHartmann VolkerHartmann added the bug Something isn't working label Mar 15, 2023
@VolkerHartmann VolkerHartmann self-assigned this Mar 15, 2023
@github-actions
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant