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

Decision tables should fail fast if the keyword is not correct and not presume that anything that starts with an "N" (including "NOLOOP") means "NAME"

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • FUTURE
    • 5.1.0.M2
    • drools-decisiontables
    • None

    Description

      See org.drools.decisiontable.parser.ActionType#addNewActionType

      NO-LOOP triggers no loop
      NAME triggers name
      NNN triggers name => should fail fast with an clear error message
      NOLOOP triggers name => should fail fast with an clear error message

      For backwards compatibilty we can allow trim().equals("N") to keep triggering name, but it should fail-fast on NNN etc.

      End-users don't edit those parts of the spreadsheet, only end-developers do: they'd rather see a clear error message than unexpected behavior.

      Attachments

        Activity

          People

            mproctor@redhat.com Mark Proctor
            gdesmet@redhat.com Geoffrey De Smet (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

            Dates

              Created:
              Updated:
              Archived:

              PagerDuty