Uploaded image for project: 'JBoss Enterprise BRMS Platform 5'
  1. JBoss Enterprise BRMS Platform 5
  2. BRMS-605

Compilation of rules should fail when is not used quotes in a String attribute

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Migrated to another ITS
    • Affects Version/s: 5.1.0 GA
    • Fix Version/s: 5.1.0.PostGA
    • Component/s: BRE
    • Labels:
      None

      Description

      Compilation of rules should fail when is not used quotes in a String attribute

      It is mandatory that Strings are placed between quotes. Guvnor/BRMS or DRL's plain text should fail if you forgot the quotes but currently it just fails the build if you put a value different of numerics:

      f : Fact( stringAttribute == ab )

      It will fail. The same must occur for:

      f : Fact( stringAttribute == 12 )

      ... but it does not happen and the rule is never matched.
      It is very important keep the same behaviour for both cases. The rule's author needs to know about it before the package is built.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tsurdilovic Tihomir Surdilovic
              Reporter:
              alessandrolt Alessandro Lazarotti
              Archiver:
              samahaja Sagar Mahajan

                Dates

                Created:
                Updated:
                Resolved:
                Archived: