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

Fix StreamForm submissions #558

Merged
merged 2 commits into from
Feb 20, 2023
Merged

Fix StreamForm submissions #558

merged 2 commits into from
Feb 20, 2023

Conversation

vsalvino
Copy link
Contributor

@vsalvino vsalvino commented Feb 17, 2023

StreamForms have been broken in 1.x, however they are seldomly used. I noticed this after testing them with Wagtail 4, apparently, they were broken by Wagtail 3.

In the event that anyone was using StreamForms with 1.x, I have included a sample migration to fix the state of their database. However it is not being included with coderedcms, because I wouldn't want to blindly change FormSubmission objects (which is part of Wagtail, and used by other forms as well). There is also a chance the site is using a custom submission model, in which case the migration could not exist in coderedcms. If the site is experiencing an error caused by this bug, they should apply the migration themselves targeting the affected models.

@vsalvino vsalvino merged commit 462bf43 into dev Feb 20, 2023
@vsalvino vsalvino deleted the fix-streamforms branch February 20, 2023 17:10
@vsalvino vsalvino added this to the 1.0.3 milestone Feb 27, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants