UX problems when editing an association
With the introduction of associations that can be connected to other associations the following UI/UX problem may occur. Now each association has a handle from which the association can be drawn. If the user now wants to edit and association and (accidentally or intentionally) hovers of that handle when selecting "edit" from the right-click menu an error message appears:
404 Not Found { "exception": "java.lang.NumberFormatException", "message": "For input string: "NaN"" }
The Browser Console reads:
dd8a9a921dd7e67b74a2.main.js:40 Rendering topic NaN as selected failed Error: element NaN not in graph
at S (79cb132cbc95c588bc5c.vendorscytoscape.js:9)
at E.selectById (79cb132cbc95c588bc5c.vendorscytoscape.js:9)
at c.renderAsSelected (79cb132cbc95c588bc5c.vendors~cytoscape.js:9)
at Array. (dd8a9a921dd7e67b74a2.main.js:7)
at c.dispatch (dd8a9a921dd7e67b74a2.main.js:13)
at dispatch (dd8a9a921dd7e67b74a2.main.js:7)
at c.setTopicSelection (dd8a9a921dd7e67b74a2.main.js:40)
at Array. (dd8a9a921dd7e67b74a2.main.js:7)
at c.dispatch (dd8a9a921dd7e67b74a2.main.js:13)
at c.dispatch (dd8a9a921dd7e67b74a2.main.js:7)
(anonymous) @ dd8a9a921dd7e67b74a2.main.js:40
:8080/core/topic/NaN?include_childs=true&include_assoc_childs=true:1 Failed to load resource: the server responded with a status of 404 (Not Found)
dd8a9a921dd7e67b74a2.main.js:13 Uncaught (in promise) Error: Request failed with status code 404
at e.exports (dd8a9a921dd7e67b74a2.main.js:13)
at e.exports (dd8a9a921dd7e67b74a2.main.js:27)
at XMLHttpRequest.p.(:8080/systems.dmx.webclient/anonymous function) (http://localhost:8080/systems.dmx.webclient/dd8a9a921dd7e67b74a2.main.js:13:38570)