[JBoss JIRA] (DROOLS-2154) Design navigation between the DRG and DRD's
by Liz Clayton (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2154?page=com.atlassian.jira.plugi... ]
Liz Clayton resolved DROOLS-2154.
---------------------------------
Resolution: Done
> Design navigation between the DRG and DRD's
> -------------------------------------------
>
> Key: DROOLS-2154
> URL: https://issues.jboss.org/browse/DROOLS-2154
> Project: Drools
> Issue Type: Task
> Components: DMN Editor
> Reporter: Liz Clayton
> Assignee: Liz Clayton
> Labels: UX, UXTeam
> Attachments: Screen Shot 2017-12-15 at 10.16.33 AM.png
>
>
> *Use case description:
*
> As a business user (Citizen Developer…), I want to navigate between the DRG and the DRDs, and the content of each node, to model business decision logic.
> *Requirements:*
> * Diagram modeling must be absolutely consistent with Process Modeler: Process Designer and DMN editors should provide the same features, support the same interactions and appear visually similar in all aspects to one and other at "Level 1". Divergence may exist at "Level 2".
> *Verification Conditions*
> * The user of this feature is able to understand that the the DRDs are subsets of the whole DRG model/file.
> * The user of this feature can seamlessly navigate between the diagrams and the content of the nodes.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (DROOLS-2182) NPE when @Expires is missing on event type
by Mario Fusco (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2182?page=com.atlassian.jira.plugi... ]
Mario Fusco commented on DROOLS-2182:
-------------------------------------
I have many test cases using events without any expiration and I've never seen this problem. Do you have a reproducer for this NPE? If so can you please attach it here or at least explain in a bit more detail what I should do to recreate this issue. Just having an event without @Expires annotation doesn't seem to be enough.
> NPE when @Expires is missing on event type
> ------------------------------------------
>
> Key: DROOLS-2182
> URL: https://issues.jboss.org/browse/DROOLS-2182
> Project: Drools
> Issue Type: Bug
> Affects Versions: 7.5.0.Final
> Reporter: Christian Bauer
> Assignee: Mario Fusco
>
> This code in {{ClassObjectTypeConf}} assumes that an event class always has an @Expires annotation, which is optional:
> {code}
> Role role = clazz.getAnnotation(Role.class);
> if (role != null) {
> isEvent = role.value() == Type.EVENT;
> if (isEvent) {
> Expires expires = clazz.getAnnotation(Expires.class);
> expirationOffset = TimeIntervalParser.parseSingle( expires.value() );
> }
> }
> {code}
> {code}
> java.lang.NullPointerException
> at org.drools.core.reteoo.ClassObjectTypeConf.<init>(ClassObjectTypeConf.java:99)
> at org.drools.core.common.ObjectTypeConfigurationRegistry.getObjectTypeConf(ObjectTypeConfigurationRegistry.java:69)
> at org.drools.core.common.NamedEntryPoint.insert(NamedEntryPoint.java:181)
> at org.drools.core.impl.StatefulKnowledgeSessionImpl.insert(StatefulKnowledgeSessionImpl.java:1493)
> at org.drools.core.impl.StatefulKnowledgeSessionImpl.insert(StatefulKnowledgeSessionImpl.java:1453)
> at org.drools.core.impl.StatefulKnowledgeSessionImpl.insert(StatefulKnowledgeSessionImpl.java:1447)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (DROOLS-2182) NPE when @Expires is missing on event type
by Edson Tirelli (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2182?page=com.atlassian.jira.plugi... ]
Edson Tirelli reassigned DROOLS-2182:
-------------------------------------
Assignee: Mario Fusco (was: Edson Tirelli)
> NPE when @Expires is missing on event type
> ------------------------------------------
>
> Key: DROOLS-2182
> URL: https://issues.jboss.org/browse/DROOLS-2182
> Project: Drools
> Issue Type: Bug
> Affects Versions: 7.5.0.Final
> Reporter: Christian Bauer
> Assignee: Mario Fusco
>
> This code in {{ClassObjectTypeConf}} assumes that an event class always has an @Expires annotation, which is optional:
> {code}
> Role role = clazz.getAnnotation(Role.class);
> if (role != null) {
> isEvent = role.value() == Type.EVENT;
> if (isEvent) {
> Expires expires = clazz.getAnnotation(Expires.class);
> expirationOffset = TimeIntervalParser.parseSingle( expires.value() );
> }
> }
> {code}
> {code}
> java.lang.NullPointerException
> at org.drools.core.reteoo.ClassObjectTypeConf.<init>(ClassObjectTypeConf.java:99)
> at org.drools.core.common.ObjectTypeConfigurationRegistry.getObjectTypeConf(ObjectTypeConfigurationRegistry.java:69)
> at org.drools.core.common.NamedEntryPoint.insert(NamedEntryPoint.java:181)
> at org.drools.core.impl.StatefulKnowledgeSessionImpl.insert(StatefulKnowledgeSessionImpl.java:1493)
> at org.drools.core.impl.StatefulKnowledgeSessionImpl.insert(StatefulKnowledgeSessionImpl.java:1453)
> at org.drools.core.impl.StatefulKnowledgeSessionImpl.insert(StatefulKnowledgeSessionImpl.java:1447)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months