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

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

    XMLWordPrintable

    Details

      Description

      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:
              mfusco Mario Fusco
              Reporter:
              alessandrolt Alessandro Lazarotti
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: