Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-983

drools.trimCellsInDTable is not working for template resources (drt + xlsx)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Major
    • None
    • 7.3.1.GA
    • BRE
    • None
    • 2019 Week 23-25

    Description

      The system property drools.trimCellsInDTable is unreachable for template resources (drt + xlsx).

      It seems that generating the drls from template resources happens prior to reading the system properties. As a result, the system property drools.trimCellsInDTable is ignored ath the time when drls are generated from template resources.

      Here is the line of code that generates the drls from template resources:

      KnowledgeBuilderImpl.java#L383

      Here is the line of code that reads the system properties:

      KnowledgeBuilderImpl.java#L405

      Can we move the line of code at 405 to line 381?

      A reproducer is available at https://github.com/carlmes/decision-table-template

      Attachments

        Issue Links

          Activity

            People

              mfusco@redhat.com Mario Fusco
              rhn-support-ghu Gary Hu
              Tibor Zimányi Tibor Zimányi
              Tibor Zimányi Tibor Zimányi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: