Un-robust behaviour when changing existing address into one that already exists
Consider the following click-flow: A Person (Peter Gertenhuber) has the work-address "Parkstrasse 3, 13187 Berlin, Deutschland". A second Person is created (Lisa Schmidt) - in the first place without any address. I then decide to add her work-address as well which happens to be the same one is Peter's. I click "edit" and start typing.
-
Finding: Although each row of the address (Street, Postal Code, ...) notices that there are entries existing I can not choose an existing address at once (or did not know how to do it via the Properties Panel.)
-
Hence I type (select from the dialog) Streetname + Number, Postal Code and City and save the Person topic. The Geomap reflects the change instantly. I see that Lisa is working a Parkstrasse.
-
Now I realize that I forgot the country on Lisa's working address. I edit the Person topic once more and add "Deutschland" (as with the already existing working address of Peter Gertenhuber). On Save the following error message appears:
500 Server Error
{ "exception": "java.lang.RuntimeException", "message": "Fetching and updating topic 5034 failed", "cause": { "exception": "java.lang.RuntimeException", "message": "Updating topic 5172 failed", "cause": { "exception": "java.lang.RuntimeException", "message": "Updating topic 5172 failed (typeUri="dmx.contacts.address")", "cause": { "exception": "java.lang.RuntimeException", "message": "An error occurred in the PostUpdateTopicListener of plugin "DMX Geomaps"", "cause": { "exception": "java.lang.RuntimeException", "message": "postUpdateTopic() invoked for an Address topic: TopicModelImpl {\n "id": 5172,\n "uri": "",\n "typeUri": "dmx.contacts.address",\n "value": "Parkstrasse 3 13187 Berlin",\n "childs": {}
n}" } } } } }
The browser console reads:
:8080/core/topic/5298:1 Failed to load resource: the server responded with a status of 500 (Server Error)
dd8a9a921dd7e67b74a2.main.js:13 Uncaught (in promise) Error: Request failed with status code 500
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)
79cb132cbc95c588bc5c.vendorscytoscape.js:9 Uncaught TypeError: Failed to construct 'OffscreenCanvas': Value is not of type 'unsigned long'.
at y.cs.makeOffscreenCanvas (79cb132cbc95c588bc5c.vendorscytoscape.js:9)
at ko.Io.makeLayer (79cb132cbc95c588bc5c.vendorscytoscape.js:9)
at h (79cb132cbc95c588bc5c.vendorscytoscape.js:9)
at ko.Io.getLayers (79cb132cbc95c588bc5c.vendorscytoscape.js:9)
at y.Xo.drawLayeredElements (79cb132cbc95c588bc5c.vendorscytoscape.js:9)
at y.Zo.render (79cb132cbc95c588bc5c.vendorscytoscape.js:9)
at t (79cb132cbc95c588bc5c.vendorscytoscape.js:9)