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

syntax errors caused by use of special characters in decision table cells

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 4.0.7
    • drools-decisiontables
    • None

      A customer entered item codes with special characters into an decision table. This caused syntax errors on the generated code.
      The item codes contained dimension in inches and they used a double quote for the unit (e.g. '... 24"....').
      As this double quotes terminate a string, the generated code out of the decision table is invalid.

      If a double quote sign is in the cell content this double quote must be masked by inserting a backslash character automatically.
      So we would get "....24\"...." as the string literal in generated code.

      From our opinion it's not acceptable to force the user who fills in the data cells into the spreadsheet to learn java and masquerade problematic characters by inserting the backslash in front of them.

            michaelneale_jira Michael Neale (Inactive)
            franklangelage Frank Langelage (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

              Created:
              Updated:
              Resolved:
              Archived: