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

Locally updated content_type select field options don't update in engine on subsequent wagon deploy #420

Open
greyskin opened this issue Oct 17, 2023 · 0 comments

Comments

@greyskin
Copy link

greyskin commented Oct 17, 2023

Steps to reproduce:

  1. Create a content_type with a select field with some options
  2. Run wagon deploy [env] -r content_types
  3. Create some content entries in the Back Office
  4. Add a new option to the select field locally
  5. Run wagon deploy [env] -r content_types again
  6. Inspect the model in the Back Office and observe that the new select option does not appear

Workaround:

  1. Delete the select field and all options locally
  2. Run wagon deploy [env] -r content_types again (deletes the select field and all options from the Back Office)
  3. Re-add the select field locally, including the original options as well as the new option
  4. Run wagon deploy [env] -r content_types again
  5. Inspect the model in the Back Office and observe that the new select field option is now available

This workaround has the major drawback of wiping any select options that have been applied to content entries up until this point.

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