You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Configuration of flow execution is wiped after using admin UI drag and drop #21960
Context:
Custom top level flow is created with two executions - one authenticator execution and one subflow execution with its own executions.
Scenario:
Upon drag and dropping the authenticator execution to be under the subflow execution - it joins the list of executions under the subflow, however the authenticator's config is cleared.
Version
21.1.0, 22.0.1, nightly
Expected behavior
The authenticator execution retains its configuration. Especially if this is done accidentally and we want to drag and drop the execution to be back on the same hierarchical level as the subflow instead of under it.
Actual behavior
The configuration of the execution is cleared, I'm not sure if it still exists in the DB, but it's no longer displayed in the browser and if refreshed it's still cleared - the connection is severed regardless.
How to Reproduce?
I think what I've written so far should be enough for the problem to be reproduced, I have nothing else to add to this.
I have verified this bug. I just created a Conditional OTP Form execution to start with. Then configured it. When I dragged the execution to the subflow, all the config info was gone.
We have also experienced this bug and wanted to create in issue for it. Should be high-impact if you ask us, since accidental production config removal is possible.
Thanks for a fix. We do feel the solution is not really great, since dragging and dropping is not an atomic operation. The now added request submitting the configuration may still fail after the move operation completed, again resulting in data loss. Also, when moving around blocks with nested elements or nested blocks, data loss is still easily possible.
Activity
ssilvert commentedon Jul 25, 2023
I have verified this bug. I just created a
Conditional OTP Formexecution to start with. Then configured it. When I dragged the execution to the subflow, all the config info was gone.ChrisBrandhorst commentedon Jul 26, 2023
We have also experienced this bug and wanted to create in issue for it. Should be high-impact if you ask us, since accidental production config removal is possible.
keep config if it exists
keep config if it exists (#22247)
keep config if it exists (keycloak#22247)
keep config if it exists (#22247) (#22650)
ChrisBrandhorst commentedon Oct 16, 2023
Thanks for a fix. We do feel the solution is not really great, since dragging and dropping is not an atomic operation. The now added request submitting the configuration may still fail after the move operation completed, again resulting in data loss. Also, when moving around blocks with nested elements or nested blocks, data loss is still easily possible.
jonkoops commentedon Oct 23, 2023
@ChrisBrandhorst could you report additional problems as separate issues? It will help us triage and fix them.