[JBoss JIRA] (DROOLS-2948) [DMN Designer] Change of selected data structure
by Guilherme Carreiro (Jira)
[ https://issues.jboss.org/browse/DROOLS-2948?page=com.atlassian.jira.plugi... ]
Guilherme Carreiro updated DROOLS-2948:
---------------------------------------
Sprint: 2019 Week 02-04
> [DMN Designer] Change of selected data structure
> ------------------------------------------------
>
> Key: DROOLS-2948
> URL: https://issues.jboss.org/browse/DROOLS-2948
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.11.0.Final
> Reporter: Jozef Marko
> Assignee: Guilherme Carreiro
> Priority: Major
> Labels: drools-tools
> Attachments: Port Clearance Rules - Solution 3.dmn
>
>
> When user changes the currently selected data type, this change is not propagated into properties panel. User has to reopen the properties panel or reselect the element to load changes.
> h2. Manual acceptance test
> - Steps to reproduce fixed.
> - Check removed item definition is not present in output data-type select box.
> -- Was selected as output data type
> -- Was selected as output data type of other node
> -- Was not selected as output data-type
> - Check added *top level* item definition *is present* in output data type select box
> - Check added *nested level* item definition *is not present* in output data type select box
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 6 months
[JBoss JIRA] (DROOLS-3429) Serialization of KiePackages fails when SecurityManager is enabled
by Tibor Zimányi (Jira)
[ https://issues.jboss.org/browse/DROOLS-3429?page=com.atlassian.jira.plugi... ]
Tibor Zimányi reassigned DROOLS-3429:
-------------------------------------
Assignee: Tibor Zimányi (was: Mario Fusco)
> Serialization of KiePackages fails when SecurityManager is enabled
> ------------------------------------------------------------------
>
> Key: DROOLS-3429
> URL: https://issues.jboss.org/browse/DROOLS-3429
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 6.5.0.Final, 7.15.0.Final
> Environment: Running with IBM JDK 1.8
> Reporter: Marcel Abou Khalil
> Assignee: Tibor Zimányi
> Priority: Major
>
> Our Drools setup:
> - users write rules in a combination of DSL and Java code
> - rules are compiled
> - packages are stored in a database (rules are seldom changed but often ran)
> This has been working fine but in order to improve security, we've enabled the SecurityManager. This throws an exception while trying to serialize the consequence part of the rule:
> {code:java}
> Caused by: java.io.NotSerializableException: com.redacted.Rule_Events_REDACTED61028857611DefaultConsequenceInvoker
> - field (class "org.drools.core.definitions.rule.impl.RuleImpl$SafeConsequence", name: "delegate", type: "interface org.drools.core.spi.Consequence")
> - object (class "org.drools.core.definitions.rule.impl.RuleImpl$SafeConsequence", org.drools.core.definitions.rule.impl.RuleImpl$SafeConsequence@93071816)
> - writeExternal data
> - object (class "org.drools.core.definitions.rule.impl.RuleImpl", [Rule name=REDACTED, agendaGroup=end, salience=0, no-loop=true])
> - writeExternal data
> - object (class "org.drools.core.rule.JavaDialectRuntimeData", org.drools.core.rule.JavaDialectRuntimeData{...})
> - custom writeObject data (class "java.util.HashMap")
> - object (class "java.util.HashMap", {java=org.drools.core.rule.JavaDialectRuntimeData{...}, mvel=org.drools.core.rule.MVELDialectRuntimeData@b99ea6b2})
> - writeExternal data
> - root object (class "org.drools.core.rule.DialectRuntimeRegistry", org.drools.core.rule.DialectRuntimeRegistry@2d9acae8)
> at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1213)
> at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1615)
> at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1576)
> at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1499)
> at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1209)
> at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:365)
> at org.drools.core.definitions.rule.impl.RuleImpl.writeExternal(RuleImpl.java:180)
> {code}
> Possible cause:
> Class {{RuleImpl}}, method {{writeExternal}} will write out {{null}} if the consequence is of type {{CompiledInvoker}}. But if the SecurityManager is enabled, the method {{wire}} will wrap the Consequence inside a {{SafeConsequence}}. A {{SafeConsequence}}, in contrast to the wrapped consequence is not a {{CompiledInvoker}}, so {{writeExternal}} will attempt to serialize it, instead of just writing {{null}} and fails.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 6 months
[JBoss JIRA] (DROOLS-3480) [DMN Designer] Improve the Data Types support (7.4)
by Guilherme Carreiro (Jira)
Guilherme Carreiro created DROOLS-3480:
------------------------------------------
Summary: [DMN Designer] Improve the Data Types support (7.4)
Key: DROOLS-3480
URL: https://issues.jboss.org/browse/DROOLS-3480
Project: Drools
Issue Type: Epic
Components: DMN Editor
Reporter: Guilherme Carreiro
Assignee: Guilherme Carreiro
As a practitioner, I want to be able to define Data Types in the UI, so that when the DMN engine evaluates a decision table input/output it will check if the type of the value matches the specified type.
Verification conditions:
Support added for the User to define data-types (ItemDefinition).
This may become a top-level task when I get to work on it; as the requirement is quite large and encompasses nested data-types (a whole new grid will be required); and definition of enums, constrains on values etc.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 6 months
[JBoss JIRA] (DROOLS-3020) [DMN Designer] Data Types - Constraints - Expression option component
by Guilherme Carreiro (Jira)
[ https://issues.jboss.org/browse/DROOLS-3020?page=com.atlassian.jira.plugi... ]
Guilherme Carreiro updated DROOLS-3020:
---------------------------------------
Attachment: expression-component.png
> [DMN Designer] Data Types - Constraints - Expression option component
> ---------------------------------------------------------------------
>
> Key: DROOLS-3020
> URL: https://issues.jboss.org/browse/DROOLS-3020
> Project: Drools
> Issue Type: Task
> Components: DMN Editor
> Reporter: Guilherme Carreiro
> Assignee: Guilherme Carreiro
> Priority: Major
> Labels: drools-tools
> Attachments: edit-decision.png, expression-component.png
>
>
> - When "Expression" is selected in the _Base Component_, one field (value) must be loaded in the _Base Component_;
> - The field is a simple input without any validation;
> - The constraint type and the value (form the input field) must be set in the Data Type.
> h2. Acceptance test
> - No ui input fields for constraints visible
> - No ui input fields for constraints enabled
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 6 months
[JBoss JIRA] (DROOLS-3020) [DMN Designer] Data Types - Constraints - Expression option component
by Guilherme Carreiro (Jira)
[ https://issues.jboss.org/browse/DROOLS-3020?page=com.atlassian.jira.plugi... ]
Guilherme Carreiro updated DROOLS-3020:
---------------------------------------
Description:
- When "Expression" is selected in the Constraints dialog, a textarea must be loaded in the dialog;
- The field is a simple textarea without any validation;
- The constraint type and the value (form the input field) must be set in the Data Type.
Prototype:
!expression-component.png|thumbnail!
was:
- When "Expression" is selected in the _Base Component_, one field (value) must be loaded in the _Base Component_;
- The field is a simple input without any validation;
- The constraint type and the value (form the input field) must be set in the Data Type.
h2. Acceptance test
- No ui input fields for constraints visible
- No ui input fields for constraints enabled
> [DMN Designer] Data Types - Constraints - Expression option component
> ---------------------------------------------------------------------
>
> Key: DROOLS-3020
> URL: https://issues.jboss.org/browse/DROOLS-3020
> Project: Drools
> Issue Type: Task
> Components: DMN Editor
> Reporter: Guilherme Carreiro
> Assignee: Guilherme Carreiro
> Priority: Major
> Labels: drools-tools
> Attachments: edit-decision.png, expression-component.png
>
>
> - When "Expression" is selected in the Constraints dialog, a textarea must be loaded in the dialog;
> - The field is a simple textarea without any validation;
> - The constraint type and the value (form the input field) must be set in the Data Type.
> Prototype:
> !expression-component.png|thumbnail!
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 6 months
[JBoss JIRA] (DROOLS-3020) [DMN Designer] Data Types - Constraints - Expression option component
by Guilherme Carreiro (Jira)
[ https://issues.jboss.org/browse/DROOLS-3020?page=com.atlassian.jira.plugi... ]
Guilherme Carreiro updated DROOLS-3020:
---------------------------------------
Sprint: 2019 Week 02-04
> [DMN Designer] Data Types - Constraints - Expression option component
> ---------------------------------------------------------------------
>
> Key: DROOLS-3020
> URL: https://issues.jboss.org/browse/DROOLS-3020
> Project: Drools
> Issue Type: Task
> Components: DMN Editor
> Reporter: Guilherme Carreiro
> Assignee: Guilherme Carreiro
> Priority: Major
> Labels: drools-tools
> Attachments: edit-decision.png, expression-component.png
>
>
> - When "Expression" is selected in the Constraints dialog, a textarea must be loaded in the dialog;
> - The field is a simple textarea without any validation;
> - The constraint type and the value (form the input field) must be set in the Data Type.
> Prototype:
> !expression-component.png|thumbnail!
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 6 months
[JBoss JIRA] (DROOLS-3018) [DMN Designer] Data Types - Constraints - None option component
by Guilherme Carreiro (Jira)
[ https://issues.jboss.org/browse/DROOLS-3018?page=com.atlassian.jira.plugi... ]
Guilherme Carreiro closed DROOLS-3018.
--------------------------------------
Resolution: Done
> [DMN Designer] Data Types - Constraints - None option component
> ---------------------------------------------------------------
>
> Key: DROOLS-3018
> URL: https://issues.jboss.org/browse/DROOLS-3018
> Project: Drools
> Issue Type: Task
> Components: DMN Editor
> Reporter: Guilherme Carreiro
> Assignee: Guilherme Carreiro
> Priority: Major
> Labels: drools-tools
> Attachments: edit-decision.png
>
>
> - When "None" is selected in the _Base Component_, no constraint must be set in the Data Type and no element should be loaded in the _Base Component_.
> h2. Acceptance test
> h3. Manage Custom Data Type dialog
> - When *none* constraint selected, other input elements for constraints are hidden
> - When *none* constraint selected, other input elements for constraints are disabled
> h3. Output Data Type select box
> - When *none* constraint selected, other input elements for constraints are hidden
> - When *none* constraint selected, other input elements for constraints are disabled
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 6 months
[JBoss JIRA] (DROOLS-3018) [DMN Designer] Data Types - Constraints - None option component
by Guilherme Carreiro (Jira)
[ https://issues.jboss.org/browse/DROOLS-3018?page=com.atlassian.jira.plugi... ]
Guilherme Carreiro commented on DROOLS-3018:
--------------------------------------------
The new prototypes don't have the "none" option https://redhat.invisionapp.com/share/D5PPHAI8PAG#/screens/338322815
Thus, I'm closing this JIRA.
> [DMN Designer] Data Types - Constraints - None option component
> ---------------------------------------------------------------
>
> Key: DROOLS-3018
> URL: https://issues.jboss.org/browse/DROOLS-3018
> Project: Drools
> Issue Type: Task
> Components: DMN Editor
> Reporter: Guilherme Carreiro
> Assignee: Guilherme Carreiro
> Priority: Major
> Labels: drools-tools
> Attachments: edit-decision.png
>
>
> - When "None" is selected in the _Base Component_, no constraint must be set in the Data Type and no element should be loaded in the _Base Component_.
> h2. Acceptance test
> h3. Manage Custom Data Type dialog
> - When *none* constraint selected, other input elements for constraints are hidden
> - When *none* constraint selected, other input elements for constraints are disabled
> h3. Output Data Type select box
> - When *none* constraint selected, other input elements for constraints are hidden
> - When *none* constraint selected, other input elements for constraints are disabled
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 6 months