Actions
Bug #12801
openWLeafletMap may skip render after replacing marker
Start date:
06/28/2024
Due date:
% Done:
0%
Estimated time:
Description
When removing a marker and then immediately creating a new one, there is a possibility, that map won't be updated on client until page is reloaded.
This bug caused by comparing pointers, but not checking if unique_ptr exists, see this line.
In my case, unique_ptr, returned by removeMarker(), is being deleted, and then new marker is created and added, which may be located by the same address, so no changes are sent to the client.
Temporary workaround is to add new marker first and then remove the old one.
Updated by Matthias Van Ceulebroeck 4 months ago
- Due date deleted (
06/28/2024) - Assignee changed from Andrey Alekseev to Matthias Van Ceulebroeck
- Target version set to 4.11.2
Actions