[
https://issues.jboss.org/browse/DROOLS-2343?page=com.atlassian.jira.plugi...
]
Michael Anstis commented on DROOLS-2343:
----------------------------------------
*Navigating to DMN "level 2" editor*
(Disables Stunner session as it provides its own keyboard etc handler)
{{AbstractClientSession.pause()}}
- calls {{CanvasControlRegistrationHandler.disable()}}
- calls {{CanvasControl.disable()}}
- calls {{AbstractCanvasHandlerControl.disable()}}
- calls {{AbstractCanvasHandlerControl.doDisable()}}
- calls {{LocationControlImpl.doDisable()}}
- {{AbstractCanvasHandlerControl}} then sets {{canvasHandler}} to {{null}}
*Closing editor*
{{SessionDiagramEditorScreen.destroySession()}}
- calls {{AbstractSessionPresenter.destroy()}}
- calls {{AbstractClientSessionManager.destroy()}}
- calls {{AbstractClientSession.doDestroy()}}
Then follows the same as above for when pausing a session
- calls {{CanvasControlRegistrationHandler.disable()}}
- calls {{CanvasControl.disable()}}
- calls {{AbstractCanvasHandlerControl.disable()}}
- calls {{AbstractCanvasHandlerControl.doDisable()}}
- calls {{LocationControlImpl.doDisable()}}
- {{LocationControlImpl}} attempts to access {{canvasHandler}} properties however it is
{{null}}
So, basically, when a Control is disabled and a subsequent attempt follows to disable it
then don't!
[DMN Designer] Closing Context editor causes error
--------------------------------------------------
Key: DROOLS-2343
URL:
https://issues.jboss.org/browse/DROOLS-2343
Project: Drools
Issue Type: Bug
Components: DMN Editor
Affects Versions: 7.7.0.Final
Reporter: Jozef Marko
Assignee: Michael Anstis
Priority: Critical
Attachments: Screenshot from 2018-02-21 14-02-18.png
If the context editor is closed the attached error appears.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)