Description of problem: After removing a fact pattern in Guided Rule Editor it is not possible to close it. That can be quite annoying if the user wants to drop unsaved changes by closing the editor. Moreover, there is a risk of breaking the Authoring perspective layout by switching to another perspective. No matter which is the target perspective, the broken rule will take up all space and the UI becomes unusable. Refreshing/re-logging helps but Authoring perspective has been saved in the broken state and it is quite complicated to restore the original layout (split with Project Explorer and editors). Version-Release number of selected component (if applicable): ER3 How reproducible: - Steps to Reproduce: 1. go to mortgages, open Bankruptcy history 2. remove conditional element number 2. (containing Bankruptcy) 3. close the editor Actual results: The editor doesn't close. JavaScript error logged into browser console. Expected results: Guided editor should close at any point of editing the rule. Additional info:
It is possible to make the editor closeable again by adding a new fact pattern. This can be helpful before the bug is fixed.