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

  1. Add a webform
  2. Visit the "build" tab
  3. Check "Enforce config"
  4. 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

ergonlogic created an issue. See original summary.

star-szr’s picture

Version: 1.0.x-dev » 2.0.x-dev
Status: Active » Fixed

This 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).

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.