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

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

      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.

              mfusco@redhat.com Mario Fusco
              rhn-support-alazarot Alessandro Lazarotti
              Archiver:
              rhn-support-ceverson Clark Everson

                Created:
                Updated:
                Resolved:
                Archived: