[JBoss JIRA] (DROOLS-3292) [DMN Designer] Data types are editable in readonly mode
by Jozef Marko (Jira)
[ https://issues.redhat.com/browse/DROOLS-3292?page=com.atlassian.jira.plug... ]
Jozef Marko updated DROOLS-3292:
--------------------------------
Description: In the attached screenshot is shown enabled data types even the dmn editor is in readonly mode. (was: In the attachment is shown manage button is not disabled in read only mode.
)
> [DMN Designer] Data types are editable in readonly mode
> -------------------------------------------------------
>
> Key: DROOLS-3292
> URL: https://issues.redhat.com/browse/DROOLS-3292
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.14.0.Final, 7.31.0.Final
> Reporter: Jozef Marko
> Assignee: Guilherme Gomes
> Priority: Major
> Labels: drools-tools
> Attachments: Screenshot from 2020-01-07 17-00-12.png
>
>
> In the attached screenshot is shown enabled data types even the dmn editor is in readonly mode.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 6 months
[JBoss JIRA] (DROOLS-3292) [DMN Designer] Data types are editable in readonly mode
by Jozef Marko (Jira)
[ https://issues.redhat.com/browse/DROOLS-3292?page=com.atlassian.jira.plug... ]
Jozef Marko updated DROOLS-3292:
--------------------------------
Steps to Reproduce:
- Open a dmn diagram
- Click on its version selector
- Pick some older version of diagram
- Graph editor will be in readonly mode
- Navigate do data types editor
-- It will be not in read only mode
-- it should be in readonly mode
was:
- Open older version of some dmn diagram
- Select an Decision node
- Expand properties panel
- Click on Manage button
-- Currently data type dialog is shown
-- No action should be taken
> [DMN Designer] Data types are editable in readonly mode
> -------------------------------------------------------
>
> Key: DROOLS-3292
> URL: https://issues.redhat.com/browse/DROOLS-3292
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.14.0.Final, 7.31.0.Final
> Reporter: Jozef Marko
> Assignee: Guilherme Gomes
> Priority: Major
> Labels: drools-tools
> Attachments: Screenshot from 2020-01-07 17-00-12.png
>
>
> In the attachment is shown manage button is not disabled in read only mode.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 6 months
[JBoss JIRA] (DROOLS-4555) Importing DMN model causes NullPointerException
by Matteo Mortari (Jira)
[ https://issues.redhat.com/browse/DROOLS-4555?page=com.atlassian.jira.plug... ]
Matteo Mortari commented on DROOLS-4555:
----------------------------------------
Hi [~jooas] and sorry for the late reply. Do you have an example DMN model you can share to reproduce the issue, please?
This would avoid a blind fix which may not fully solve the issue you are experiencing.
> Importing DMN model causes NullPointerException
> -----------------------------------------------
>
> Key: DROOLS-4555
> URL: https://issues.redhat.com/browse/DROOLS-4555
> Project: Drools
> Issue Type: Bug
> Reporter: Jonas Tamimi
> Assignee: Matteo Mortari
> Priority: Major
>
> Hi,
> this is my first issue, so I hope I did everything right. We have been using version 7.21.0.Final of Drools for the last few months. A few weeks ago we switched to the latest version and could not import a few of our decision models (.dmn) anymore. According to our own research the bug seems to be present since 7.22.0.t042 and is still present in the latest snapshot.
> This is the relevant logging output: [https://gist.github.com/oas/ec0f70585411d8c3f0266b7d2fd02ebc|https://gist...]
> I tried to narrow down the exception and it seems to be in the method {{checkVariableName}} of {{org.kie.dmn.feel.parser.feel11.FEELParser}}. {{errorChecker.hasErrors()}} is false, but it is not catched by the if statement in line 111. Because of this, {{errorChecker.getErrors()}} returns null instead of a {{List<FEELEvent>}}.
> The method {{checkVariableName}} in {{org.kie.dmn.core.compiler.DMNCompilerHelper}}, assumes that a list will be returned and calls {{isEmpty()}}. This throws the {{NullPointerException}}.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 6 months