Uploaded image for project: 'Guvnor'
  1. Guvnor
  2. GUVNOR-2130

"Unsaved Changes" dialog does not pop up when editing text field in rule

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: drools_6.1.0.Final
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Steps to Reproduce:
      Hide

      1. Open a guided rule which already has some actions which involve editable fields.
      2. Edit something in a field, don't edit anything else in the rule.
      3. Close the rule.

      Show
      1. Open a guided rule which already has some actions which involve editable fields. 2. Edit something in a field, don't edit anything else in the rule. 3. Close the rule.

      Description

      Edit a text field of a rule which is based on a DSL and close the rule without saving it first.

      What should happen:
      When closing without saving, a dialog "Do you want to discard changes?" should pop up (as it does when e.g. adding or removing a rule action).

      What does happen:
      No such dialog pops up, the changes are lost.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dadadom Dominik Sandjaja
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: