-
Notifications
You must be signed in to change notification settings - Fork 8
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
Form produces server errors when adding fields #1003
Comments
Error occurs in this code: securedrop.org/forms/templatetags/form_tags.py Lines 21 to 28 in 8a2240d
Which is triggered by the call to The simplest way to fix this is to return |
Full traceback from my local system:
|
I'm open to whoever takes this ticket on doing some timeboxed research (say 30m) to determine if there's an easy way to access the draft form field data. If it helps, If no approach can be identified, returning |
Steps to reproduce
Expected behavior
Form renders with field
Actual behavior
Internal server error in preview. If I save the draft, the error goes away.
Notes
It looks like form functionality has continued to degrade with recent Wagtail/Django upgrades; see #925 for a similar issue from last year.
The text was updated successfully, but these errors were encountered: