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

[Forms] Forms created with an old version throw 500s #464

Open
tudoramariei opened this issue Oct 12, 2023 · 0 comments
Open

[Forms] Forms created with an old version throw 500s #464

tudoramariei opened this issue Oct 12, 2023 · 0 comments
Assignees
Labels
bug 🐛 Something isn't working Forms needs-info

Comments

@tudoramariei
Copy link
Member

tudoramariei commented Oct 12, 2023

Forms created with v1.3.14 of WF that is now at the latest version cause the page they're attached to to throw a 500 server error.

The issue seems to appear from the fact that the slug of the form is null.
A workaround exists for the issue. If a user changes something in the form (and saves it), the slug is generated, and the form will work.

Steps to reproduce

  1. Start a WF instance with v1.3.14
  2. Create a form in the admin
  3. Upgrade the instance to the latest version (v1.6.7)
  4. Create a new page
  5. Attach the form to the new page
  6. Publish & save the page
  7. Open the page
  8. The page opens with a 500 Server Error

Expected

The page should open and show the form.
Otherwise, could you send the user a warning/error? When saving the page, the user should see an error banner. The banner should mention that a problem occurred because the form is incompatible.

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

No branches or pull requests

2 participants