Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-3484

Redundancy check option not working in Drools Verifier

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

    XMLWordPrintable

Details

    • Hide

      1. Create a duplicate rule in your drl file.
      2. Add the package to Verifier.
      3. Fire all the rules in default configuration of verifier.
      4. You will not find the "Redundant" warning displayed.

      Show
      1. Create a duplicate rule in your drl file. 2. Add the package to Verifier. 3. Fire all the rules in default configuration of verifier. 4. You will not find the "Redundant" warning displayed.
    • Hide

      I am not sure about workaround. But i feel these rules have to be loaded "Find Literal restriction" and "Find Variable restriction". Coz the rule which checks for redundancy in pattern matching is not being loaded into the Activation due to it.

      Show
      I am not sure about workaround. But i feel these rules have to be loaded "Find Literal restriction" and "Find Variable restriction". Coz the rule which checks for redundancy in pattern matching is not being loaded into the Activation due to it.

    Description

      I am using Drools-Verifier to validate the rules for any redundancy. I have explicitly given the redundant rule to test it. But I didn t get any warning stated that there are duplicate rules.

      I did some research and found that the dependent rules "Find Literal restriction" and "Find Variable restriction" are being removed (file org/drools/redundancy/restriction.drl).

      Kindly fix the issue so that we can continue with Drools-Verifier.

      Thanks,
      Prasanna.

      Attachments

        Activity

          People

            trikkola Toni Rikkola
            worldofprasanna Prasanna Venkataraman (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty