wrk-fmd / CoCeSo

Coordination Center Software for mobile operation
GNU General Public License v3.0
10 stars 3 forks source link

location gets deleted after status change, if it contains a comma #115

Closed fs1 closed 2 years ago

fs1 commented 3 years ago

If the location of a relocation event contains a comma, the location gets deleted once the status of an associated unit is changed:

![video]()

This happens also to all other events as it seems - I added a comma after "Rud Ev" for demonstration purposes: image after the status change: image

at-dro commented 2 years ago

Fixed in 0d5ef96.

Issue was caused by the title line and and additional lines not written to the database at all, but was only visible when these properties are set at all (i.e., something in the text cannot be parsed as street or city at all, as is the case with commas) AND data is loaded from the database directly instead of cached Hibernate data (which apparently only happens for status updates, but not other updates).