[jboss-jira] [JBoss JIRA] (DROOLS-1433) DMN Model node with no typeRef affected by wrong validation message

Matteo Mortari (JIRA) issues at jboss.org
Fri Feb 10 05:37:00 EST 2017


Matteo Mortari created DROOLS-1433:
--------------------------------------

             Summary: DMN Model node with no typeRef affected by wrong validation message
                 Key: DROOLS-1433
                 URL: https://issues.jboss.org/browse/DROOLS-1433
             Project: Drools
          Issue Type: Bug
          Components: dmn engine
            Reporter: Matteo Mortari
            Assignee: Matteo Mortari


In the following example:

{code:xml}
  <decision id="d_BureauCallType" name="BureauCallType">
    <variable name="BureauCallType" typeRef="tns:tBureauCallType"/>
    <informationRequirement>
      <requiredDecision href="#d_Pre-bureauRiskCategory"/>
    </informationRequirement>
    <knowledgeRequirement>
      <requiredKnowledge href="#b_BureauCallTypeTable"/>
    </knowledgeRequirement>
    <invocation>
      <literalExpression>
        <text>BureauCallTypeTable</text>
      </literalExpression>
      <binding>
        <parameter id="_65deeb90-626c-4cce-9485-eae9455b2194" name="Pre-bureauRiskCategory"/>
        <literalExpression>
          <text>Pre-bureauRiskCategory</text>
        </literalExpression>
      </binding>
    </invocation>
  </decision>
{code}

the {{invocation}} and {{literalExpression}} node are receiving a wrong validation message for "This element indicates a 'typeRef' which is not in FEEL namespace and not defined with itemDefinition", despite they don't provide any {{typeRef}} at all.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list