-
Notifications
You must be signed in to change notification settings - Fork 23
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 copying with logic rules that contain: "Inschakelen vanaf stap:" breaks Logic tab in new copy #3378
Comments
Refinement: this is similar to the logic action to mark a step as not applicable - the solution there was to store the UUID reference rather than the fully qualified API resource URL. A similar approach is needed here. It's a bug, but not a 2.3.0 release blocker, since it is broken all the way to 2.0.x probably. @LaurensBurger do I understand it correctly the logic tab is broken in the sense that you can't fix the problem at all (i.e. no workaround)? |
AFAIK no workaround to 'revive' the logic tab once the form has been copied. As @LaurensBurger mentioned a woraround to get the form duplicated still consists of exporting the original form and then re-importing it - this duplicates the form with a working logic tab. |
thanks for reporting back! this will be fixed in the upcoming patch releases (in a month at the latest) |
Regretfully, where everything seemed fine originally, upon editing the export-imported form and trying to save, this showed up: So it seems the workaround isn't one really, as now the copies automagically share their tabs. Perhaps as another workaround @LaurensBurger can share which string to replace by which in the form formLogic.json? I tried to fiddle with it based on the explanation in the original post, but didn't manage. |
I believe this may be caused by #3335 - so if we can fix that, then the workaround should be viable. |
…h-logic-rules-breaks-copy-logic-tab [#3378] Fix formstep url in logic rules of copied form
Product versie / Product version
2.2.x - 2.3.0
Haarlemmermeer: 28
Omschrijf het probleem / Describe the bug
If a form containing logic rules that are enabled from a certain step, the copy of the form will have a broken Logic tab as it seems the "Inschakelen vanaf stap" still pointing to the original form:
json in copied form, notice the:
"trigger_from_step": "http://localhost/api/v2/forms/1dacaf4f-bc68-4197-8c7b-84ad7ec913c1/steps/72d4bdb5-90f0-4d89-9c3b-1bf3373c49d7"
instead ofhttp://localhost/api/v2/forms/1968d36e-8932-43ff-8a83-8c22a2ad97dd
Importing the form does work.
The text was updated successfully, but these errors were encountered: