Problem/Motivation
Trying to enforce a webform when on the "Build" tab fails, returning:
[{"command":"webformConfirmReload","message":"We are unable to complete the current request.\n\nDo you want to reload the current page?"}]
Steps to reproduce
- Add a webform
- Visit the "build" tab
- Check "Enforce config"
- Click "Save configuration"
Workaround
Click over to the "settings" tab. Note that the same config object is being handled here. "Save configuration" works properly from this form.
Proposed resolution
Considering the workaround, I suspect that this is caused by the multi-step form framework. Perhaps we can detect whether we're on an intermediate.
Remaining tasks
TBD
User interface changes
TBD
API changes
TBD
Data model changes
N/A
Comments
Comment #2
star-szrThis seems to work as expected on 2.0.x, both with the enforce by default (pressing Save elements on the form), and via the off-canvas/separate config enforce settings form (#3188474: Move the config_enforce form to an off-canvas dialog).