Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-2192

DMN QName regex problem and assimilated for function drools:kind

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • dmn engine
    • None
    • 2017 Week 51-52
    • NEW
    • NEW

      DMN QName regex does not match with serialization strategy.

      A qname string serialization as

      {http://namespace}localPart
      

      would fail the regex of MarshallingUtils.

      Additionally FunctionDefinition could now rely on the additionalAttributes generally available at the level of DMNModelInstrumentedBase (which would also serialize any other type of additional attributes, preserving from any original .dmn file).

      Finally, it was noted calling getDecisionResultByName on DMNResultImpl by passing a wrong name would have thrown the stacktrace for wrong use of Optional.get(), instead of returning null as per getDecisionResultById() of the same class.

            mmortari@redhat.com Matteo Mortari
            mmortari@redhat.com Matteo Mortari
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: