Skip to content

Existing Fields does not update and cannot de deleted #13

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

Open
Shreyadiv opened this issue Jun 5, 2024 · 0 comments
Open

Existing Fields does not update and cannot de deleted #13

Shreyadiv opened this issue Jun 5, 2024 · 0 comments

Comments

@Shreyadiv
Copy link

Description

When using the schema module, updating existing fields or deleting fields does not work as expected when importing the schema.

Steps to Reproduce

  1. Create a collection with a dropdown field containing 2 options.
  2. Export the schema.
  3. Update the dropdown field by adding a third option.
  4. Export the schema again.
  5. Have another user import the schema using "create new collections and patch existing ones".

Expected Behavior

  • The dropdown field should be updated with the new option.
  • Deleted fields should be removed when another user imports the schema.

Actual Behavior

  • The dropdown field is not updated; it remains with the original 2 options. It skips the existing fields.
  • Deleted fields are not removed; they still exist in the collection after import.
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