Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-2258

[guided rule editor] duplicate @Position value not handled well

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 6.2.0
    • 6.1.0
    • Business Central
    • None

    Description

      Description of problem:
      See description in bug 1173089 comment 0.
      While the issue of defaults was fixed (by not adding the annotation automatically), the issue for duplicate position values persists.

      The Error pop-up in GRE needs not to be blank - there should be a message of why the validation fails.

      Version-Release number of selected component (if applicable):
      6.1 ER5

      Steps to Reproduce:
      1. Create a data object C1 with field f1, set Position to 0. Save.
      2. Create a data object C2, set the superclass to C1, add field f2, set Position to 0. Save.
      3. Create a guided rule, add C2 to 'when' section.
      4. Validate the guided rule.

      Actual results:
      Step 4 - Error pop-up with no message, validation fails.

      Expected results:
      Step 4 - Error pop-up warning about duplicate position, validation fails.

      Attachments

        Issue Links

          Activity

            People

              wmedvede@redhat.com Walter Medvedeo
              zkrejcov Zuzka Krejčová (Inactive)
              Archiver:
              rhn-support-ceverson Clark Everson
              Zuzka Krejčová Zuzka Krejčová (Inactive)
              Zuzka Krejčová Zuzka Krejčová (Inactive)
              Kris Verlaenen, Michael Anstis

              Dates

                Created:
                Updated:
                Resolved:
                Archived:

                PagerDuty