[JBoss JIRA] (DROOLS-4807) [DMN Designer] Do not group V&V messages by UUID
by Michael Anstis (Jira)
[ https://issues.jboss.org/browse/DROOLS-4807?page=com.atlassian.jira.plugi... ]
Michael Anstis updated DROOLS-4807:
-----------------------------------
Sprint: 2019 Week 50-52 (from Dec 9) (was: 2019 Week 47-49 (from Nov 18))
> [DMN Designer] Do not group V&V messages by UUID
> ------------------------------------------------
>
> Key: DROOLS-4807
> URL: https://issues.jboss.org/browse/DROOLS-4807
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.30.0.Final
> Reporter: Michael Anstis
> Assignee: Michael Anstis
> Priority: Major
> Labels: drools-tools
> Attachments: V&V.png
>
>
> The V&V results are grouped by UUID. See attached screen-shot.
> These items are reported individually by {{kie-dmn-validation}} but grouped by {{org.kie.workbench.common.dmn.showcase.backend.validation.ValidationServiceImpl}} in the _standalone_ webapp however I fear Stunner's generic {{ValidationService}} does the same in Business Central and hence reporting DMN V&V per-line may be more troublesum.
> See [here|https://github.com/kiegroup/kie-wb-common/blob/master/kie-wb-common-...] that should more correctly be:-
> {code}
> @Override
> public Collection<DiagramElementViolation<RuleViolation>> validate(Diagram diagram) {
> return domainViolations(diagram).stream()
> .filter(v -> Objects.nonNull(v.getUUID()))
> .filter(v -> !"null".equals(v.getUUID()))
> .map(v -> new ElementViolationImpl.Builder().setUuid(v.getUUID()).setDomainViolations(Collections.singletonList(v)).build())
> .collect(Collectors.toList());
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 6 months
[JBoss JIRA] (DROOLS-3048) [DMN Designer] CellEditorControl needs to issue a new instance per use
by Michael Anstis (Jira)
[ https://issues.jboss.org/browse/DROOLS-3048?page=com.atlassian.jira.plugi... ]
Michael Anstis updated DROOLS-3048:
-----------------------------------
Labels: drools-tools (was: )
> [DMN Designer] CellEditorControl needs to issue a new instance per use
> ----------------------------------------------------------------------
>
> Key: DROOLS-3048
> URL: https://issues.jboss.org/browse/DROOLS-3048
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.12.0.Final
> Reporter: Michael Anstis
> Assignee: Michael Anstis
> Priority: Major
> Labels: drools-tools
>
> A {{Popover}} used to edit a cell or column header (or any other DOM-based editor for that matter) disappears following a change in the widget that causes a {{Layer.draw()}} if the grid is sufficiently wide that there is a column not visible on screen.
> All cells/columns that use {{CellEditorControls}} (containing, for example, the {{Popover}}) share a single instance from {{CellEditorControl}} and hence although the User makes a change in a visible column the invisible column (scrolled off screen) has its DOM resources destroyed that is the same instance as that for the visible column.
> See https://github.com/kiegroup/appformer/blob/master/uberfire-extensions/ube.... If a column is not in the _body_ or _floating_ columns collection its DOM resources are destroyed.
> I probably need to ensure different instances of {{CellEditorControl}} are created for each column/cell where we currently share the same instance. Also check for destruction of DOM elements in {{Document}} when grids/columns etc are destroyed.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 6 months
[JBoss JIRA] (DROOLS-3048) [DMN Designer] CellEditorControl needs to issue a new instance per use
by Michael Anstis (Jira)
[ https://issues.jboss.org/browse/DROOLS-3048?page=com.atlassian.jira.plugi... ]
Michael Anstis updated DROOLS-3048:
-----------------------------------
Sprint: 2019 Week 50-52 (from Dec 9)
> [DMN Designer] CellEditorControl needs to issue a new instance per use
> ----------------------------------------------------------------------
>
> Key: DROOLS-3048
> URL: https://issues.jboss.org/browse/DROOLS-3048
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.12.0.Final
> Reporter: Michael Anstis
> Assignee: Michael Anstis
> Priority: Major
>
> A {{Popover}} used to edit a cell or column header (or any other DOM-based editor for that matter) disappears following a change in the widget that causes a {{Layer.draw()}} if the grid is sufficiently wide that there is a column not visible on screen.
> All cells/columns that use {{CellEditorControls}} (containing, for example, the {{Popover}}) share a single instance from {{CellEditorControl}} and hence although the User makes a change in a visible column the invisible column (scrolled off screen) has its DOM resources destroyed that is the same instance as that for the visible column.
> See https://github.com/kiegroup/appformer/blob/master/uberfire-extensions/ube.... If a column is not in the _body_ or _floating_ columns collection its DOM resources are destroyed.
> I probably need to ensure different instances of {{CellEditorControl}} are created for each column/cell where we currently share the same instance. Also check for destruction of DOM elements in {{Document}} when grids/columns etc are destroyed.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 6 months