Product versie / Product version
3.4.9 & 3.5.1
Customer reference
Gemeente Westerkwartier
Omschrijf het probleem / Describe the bug
If you first remove a component a simple logic rule was based on, and then the rule itself, it will stay in the JSON and give you the following warning:
"Component X steunt op een niet-bestaande component key Y in de eenvoudige logica."
On the left you can see no (more) simple logic rule applied, but it persists in JSON on the right side of the screenshot.
PS. If you first remove the simple logic rule and then the component it's based on, it will result in removing the component key from the JSON - as expected.
Stappen om te reproduceren / Steps to reproduce
- Go to Formulieren on Maykin Test, choose: ' removing a simple logic rule doesn't result in removing it from JSON ' - form
- Notice the warning 'Component Name (name) steunt op een niet-bestaande component key doYouHaveAName in de eenvoudige logica.'
- Inspect the Name component with no simple logic rules applied
- Inspect JSON where the simple logic rule and the component key persist
- You can also revert to Version 1 of the form, to inspect where the component key originates from
Verwacht gedrag / Expected behavior
Removing a component and the simple logic rule based on this component key should result in removing the logic rule and the key from JSON.
Which renderer?
new renderer
Screen resolution
None
Device
Desktop
OS
Linux
Browser
Firefox
Product versie / Product version
3.4.9 & 3.5.1
Customer reference
Gemeente Westerkwartier
Omschrijf het probleem / Describe the bug
If you first remove a component a simple logic rule was based on, and then the rule itself, it will stay in the JSON and give you the following warning:
"Component X steunt op een niet-bestaande component key Y in de eenvoudige logica."
On the left you can see no (more) simple logic rule applied, but it persists in JSON on the right side of the screenshot.
PS. If you first remove the simple logic rule and then the component it's based on, it will result in removing the component key from the JSON - as expected.
Stappen om te reproduceren / Steps to reproduce
Verwacht gedrag / Expected behavior
Removing a component and the simple logic rule based on this component key should result in removing the logic rule and the key from JSON.
Which renderer?
new renderer
Screen resolution
None
Device
Desktop
OS
Linux
Browser
Firefox