[JBoss JIRA] (WFCORE-2676) Requires and alternatives metadata for deployment resource 'content' attribute fields is incorrect
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2676?page=com.atlassian.jira.plugi... ]
Brian Stansberry updated WFCORE-2676:
-------------------------------------
Summary: Requires and alternatives metadata for deployment resource 'content' attribute fields is incorrect (was: Requires and alternatives metadata for deployment resource 'content' attribute fields is incorrecdt)
> Requires and alternatives metadata for deployment resource 'content' attribute fields is incorrect
> --------------------------------------------------------------------------------------------------
>
> Key: WFCORE-2676
> URL: https://issues.jboss.org/browse/WFCORE-2676
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Reporter: Brian Stansberry
> Assignee: Brian Stansberry
>
> The AttributeDefinition for the 'content' attribute is sharing ADs for its fields with those created for the 'content' param to various deployment ops. This resulted in incorrect metadata as those fields have different "require" and "alternatives" settings in the two different use cases.
> Besides being wrong data in the read-resoure-description this blocks WFCORE-2317 and WFCORE-2674 by introducing incorrect data that results in spurious validation that can't succeed.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (DROOLS-1529) Return in new item returns to the home screen instead of creating the item
by Martijn Burger (JIRA)
Martijn Burger created DROOLS-1529:
--------------------------------------
Summary: Return in new item returns to the home screen instead of creating the item
Key: DROOLS-1529
URL: https://issues.jboss.org/browse/DROOLS-1529
Project: Drools
Issue Type: Bug
Affects Versions: 7.0.0.CR1
Environment: wildfly 10.0 - Windows 10 - Microsoft Edge
Reporter: Martijn Burger
Assignee: Edson Tirelli
Priority: Minor
When I create a new item in the KIE Workbench, for instance a DRL file, after entering the item name when a hit enter, I expect that the item will be created. Instead the system returns me to the home screen without creating the item.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (WFCORE-2676) Requires and alternatives metadata for deployment resource 'content' attribute fields is incorrecdt
by Brian Stansberry (JIRA)
Brian Stansberry created WFCORE-2676:
----------------------------------------
Summary: Requires and alternatives metadata for deployment resource 'content' attribute fields is incorrecdt
Key: WFCORE-2676
URL: https://issues.jboss.org/browse/WFCORE-2676
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Reporter: Brian Stansberry
Assignee: Brian Stansberry
The AttributeDefinition for the 'content' attribute is sharing ADs for its fields with those created for the 'content' param to various deployment ops. This resulted in incorrect metadata as those fields have different "require" and "alternatives" settings in the two different use cases.
Besides being wrong data in the read-resoure-description this blocks WFCORE-2317 and WFCORE-2674 by introducing incorrect data that results in spurious validation that can't succeed.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (DROOLS-1512) Nullpointer exception when running a decision table with "null" as the input
by Edson Tirelli (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1512?page=com.atlassian.jira.plugi... ]
Edson Tirelli updated DROOLS-1512:
----------------------------------
Fix Version/s: 7.1.0.Final
> Nullpointer exception when running a decision table with "null" as the input
> ----------------------------------------------------------------------------
>
> Key: DROOLS-1512
> URL: https://issues.jboss.org/browse/DROOLS-1512
> Project: Drools
> Issue Type: Bug
> Components: dmn engine
> Reporter: Mélanie Gauthier
> Assignee: Edson Tirelli
> Fix For: 7.1.0.Final
>
> Attachments: NPE.dmn
>
>
> Here is the stack trace:
> WARN org.kie.dmn.core.compiler.DMNFEELHelper - A non-critical error happened while evaluating a unary test. Execution will continue.
> java.lang.NullPointerException
> at org.kie.dmn.core.compiler.DMNFEELHelper.valueMatchesInUnaryTests(DMNFEELHelper.java:64)
> at org.kie.dmn.core.impl.DMNRuntimeImpl.checkDependencyValueIsValid(DMNRuntimeImpl.java:361)
> at org.kie.dmn.core.impl.DMNRuntimeImpl.evaluateDecision(DMNRuntimeImpl.java:256)
> at org.kie.dmn.core.impl.DMNRuntimeImpl.evaluateAll(DMNRuntimeImpl.java:90)
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (DROOLS-1500) DecisionTable single output typeRef inference
by Edson Tirelli (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1500?page=com.atlassian.jira.plugi... ]
Edson Tirelli updated DROOLS-1500:
----------------------------------
Fix Version/s: 7.1.0.Final
> DecisionTable single output typeRef inference
> ---------------------------------------------
>
> Key: DROOLS-1500
> URL: https://issues.jboss.org/browse/DROOLS-1500
> Project: Drools
> Issue Type: Enhancement
> Components: dmn engine
> Reporter: Matteo Mortari
> Assignee: Matteo Mortari
> Fix For: 7.1.0.Final
>
>
> As for the example below, the low priority value is Referred, so the correct answer should be Declined:
> {code:xml}
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <semantic:definitions xmlns:semantic="http://www.omg.org/spec/DMN/20151101/dmn.xsd" xmlns="http://www.trisotech.com/definitions/_ff54a44d-b8f5-48fc-b2b7-43db767e8a1c" xmlns:feel="http://www.omg.org/spec/FEEL/20140401" xmlns:triso="http://www.trisotech.com/2015/triso/modeling" xmlns:trisofeed="http://trisotech.com/feed" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" exporter="DMN Modeler" exporterVersion="5.1.8.1" id="_ff54a44d-b8f5-48fc-b2b7-43db767e8a1c" name="not quite all or nothing P" namespace="http://www.trisotech.com/definitions/_ff54a44d-b8f5-48fc-b2b7-43db767e8a1c" triso:logoChoice="Default">
> <semantic:extensionElements/>
> <semantic:itemDefinition label="tRiskCategory" name="tRiskCategory">
> <semantic:typeRef>feel:string</semantic:typeRef>
> <semantic:allowedValues triso:constraintsType="enumeration">
> <semantic:text>"High","Low","Medium"</semantic:text>
> </semantic:allowedValues>
> </semantic:itemDefinition>
> <semantic:itemDefinition label="tApprovalStatus" name="tApprovalStatus">
> <semantic:typeRef>feel:string</semantic:typeRef>
> <semantic:allowedValues triso:constraintsType="enumeration">
> <semantic:text>"Approved","Declined","Referred"</semantic:text>
> </semantic:allowedValues>
> </semantic:itemDefinition>
> <semantic:decision id="_3b2953a3-745f-4d2e-b55d-75c8c5ae653c" name="Approval Status" triso:displayName="Approval Status">
> <semantic:variable id="_7fe30427-4140-4e53-a070-2ecfc723d82b" name="Approval Status" typeRef="tApprovalStatus"/>
> <semantic:informationRequirement>
> <semantic:requiredDecision href="#_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17"/>
> </semantic:informationRequirement>
> <semantic:informationRequirement>
> <semantic:requiredInput href="#_8ff18665-84e9-49f2-a8df-8981b1844549"/>
> </semantic:informationRequirement>
> <semantic:decisionTable hitPolicy="PRIORITY" id="_c98573c0-08b5-4bc3-baf1-3b065fedf1d1" outputLabel="Approval Status">
> <semantic:input id="_0524c2a9-a223-425a-988f-72d39eed9714" label="isAffordable">
> <semantic:inputExpression typeRef="feel:boolean">
> <semantic:text>isAffordable</semantic:text>
> </semantic:inputExpression>
> </semantic:input>
> <semantic:input id="_705b772e-6ac9-4c09-ace8-5165438454d9" label="RiskCategory">
> <semantic:inputExpression typeRef="tRiskCategory">
> <semantic:text>RiskCategory</semantic:text>
> </semantic:inputExpression>
> </semantic:input>
> <semantic:output id="_704c6117-4670-4d2f-865e-a4d973db5e9f" />
> <semantic:rule id="_c9dd9401-69a6-4da7-bd70-22e062addf06">
> <semantic:inputEntry id="_8ba69e42-c77b-4be4-b566-3385fada3a7a">
> <semantic:text>true</semantic:text>
> </semantic:inputEntry>
> <semantic:inputEntry id="_4f356526-fe33-4e2d-9aab-837ad962ee43">
> <semantic:text>"Low"</semantic:text>
> </semantic:inputEntry>
> <semantic:outputEntry id="_9b79d813-37cb-4e67-9207-139a00802f39">
> <semantic:text>"Approved"</semantic:text>
> </semantic:outputEntry>
> </semantic:rule>
> <semantic:rule id="_4fb0af5e-d777-42ee-a886-c0e31ab3fc31">
> <semantic:inputEntry id="_a321bd86-943a-46d4-9eb4-3d68415e695c">
> <semantic:text>-</semantic:text>
> </semantic:inputEntry>
> <semantic:inputEntry id="_73262932-7275-47e3-9684-91cf5c336af2">
> <semantic:text>"Medium"</semantic:text>
> </semantic:inputEntry>
> <semantic:outputEntry id="_bdda5b02-fcc6-4a14-b668-c612b654c818">
> <semantic:text>"Referred"</semantic:text>
> </semantic:outputEntry>
> </semantic:rule>
> <semantic:rule id="_789b4b82-6bf6-4040-86bc-9237c41b37be">
> <semantic:inputEntry id="_9de5765c-f427-4df0-af9f-67a074f9f31f">
> <semantic:text>true</semantic:text>
> </semantic:inputEntry>
> <semantic:inputEntry id="_bc4319a2-f954-4fe6-a708-49de2a1c051d">
> <semantic:text>"High"</semantic:text>
> </semantic:inputEntry>
> <semantic:outputEntry id="_7330db40-ec90-4c0e-8989-798251da2187">
> <semantic:text>"Declined"</semantic:text>
> </semantic:outputEntry>
> </semantic:rule>
> <semantic:rule id="_a9f2bdca-8e42-4d79-862a-44a027e2b536">
> <semantic:inputEntry id="_23b70497-fee9-4dfb-ae24-93f672d9f1d7">
> <semantic:text>false</semantic:text>
> </semantic:inputEntry>
> <semantic:inputEntry id="_ce7b70c5-b5d2-48a5-9fa9-5ac865092945">
> <semantic:text>-</semantic:text>
> </semantic:inputEntry>
> <semantic:outputEntry id="_fa497253-0356-4234-9774-2e3d95c171d2">
> <semantic:text>"Declined"</semantic:text>
> </semantic:outputEntry>
> </semantic:rule>
> </semantic:decisionTable>
> </semantic:decision>
> <semantic:decision id="_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17" name="RiskCategory" triso:displayName="RiskCategory">
> <semantic:variable id="_542fe70e-5c8e-4f30-bec7-ad19a792cfaf" name="RiskCategory" typeRef="tRiskCategory"/>
> </semantic:decision>
> <semantic:inputData id="_8ff18665-84e9-49f2-a8df-8981b1844549" name="isAffordable" triso:displayName="isAffordable">
> <semantic:variable id="_65f460e7-7bcb-419a-93c2-36b26b95273e" name="isAffordable" typeRef="feel:boolean"/>
> </semantic:inputData>
> </semantic:definitions>
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (DROOLS-1492) typeRef allowed values check for DT input and output clauses, and InputData
by Edson Tirelli (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1492?page=com.atlassian.jira.plugi... ]
Edson Tirelli updated DROOLS-1492:
----------------------------------
Fix Version/s: 7.1.0.Final
> typeRef allowed values check for DT input and output clauses, and InputData
> ---------------------------------------------------------------------------
>
> Key: DROOLS-1492
> URL: https://issues.jboss.org/browse/DROOLS-1492
> Project: Drools
> Issue Type: Feature Request
> Components: dmn engine
> Reporter: Matteo Mortari
> Assignee: Matteo Mortari
> Fix For: 7.1.0.Final
>
>
> Example model
> {code:xml}
> <definitions id="definitions" ...
> <itemDefinition label="MyType" name="MyType">
> <typeRef>feel:string</typeRef>
> <allowedValues constraintsType="enumeration">
> <text>"a","b","c"</text>
> </allowedValues>
> </itemDefinition>
> <inputData id="_3d560678-a126-4654-a686-bc6d941fe40b" name="MyInput">
> <variable id="_053333df-1777-45f1-a6c7-56562fbdfdae" name="MyInput" typeRef="kie:MyType"/>
> </inputData>
> <decision id="_497a5306-b2e8-4945-b8b5-82af2e2b99b5" name="MyDecision">
> <variable id="_514d6d8d-5329-44fa-af91-a7e7addbadd8" name="MyDecision" typeRef="feel:string"/>
> <informationRequirement>
> <requiredInput href="#_3d560678-a126-4654-a686-bc6d941fe40b"/>
> </informationRequirement>
> <decisionTable hitPolicy="UNIQUE" id="_fff2b82e-2850-4826-adc9-4b1570d6fa91" outputLabel="MyDecision">
> <input id="_e0471736-9a71-40c7-b5ca-bf367c6a3af9" label="MyInput">
> <inputExpression typeRef="kie:MyType">
> <text>MyInput</text>
> </inputExpression>
> </input>
> <output id="_01796218-0d50-4ebe-bd2b-b4509318e334"/>
> <rule id="_fd1835b6-5fe1-4fd9-a8e4-39b4f7083b24">
> <inputEntry expressionLanguage="http://www.omg.org/spec/FEEL/20140401" id="_1c8b24c7-e722-40d7-8661-f03d402688d2">
> <text>-</text>
> </inputEntry>
> <outputEntry id="_0b9d04fe-032b-4753-84dd-9838f6cdef53">
> <text>"Decision taken"</text>
> </outputEntry>
> </rule>
> </decisionTable>
> </decision>
> </definitions>
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month