Project

General

Profile

Actions

Bug #1296

closed

Linestrings cannot be deleted

Added by Stefan Eichert over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Maps
Target version:
-
Start date:
2020-07-02
Estimated time:
Found in version:

Description

After creating a linestring geometry in the map and saving it, again in edit mode, it cannot be deleted. Even though the linestring is removed, after saving and reloading the entity it is there again.
https://thanados.openatlas.eu/entity/132654


Files

screenshot.jpg (38.5 KB) screenshot.jpg Stefan Eichert, 2020-07-02 11:46
Actions #1

Updated by Alexander Watzinger over 4 years ago

  • Category set to Maps

I wasn't able to reproduce the bug. Tested in demo, demo-dev and THANADOS with Firefox. Steps:

  • Click on edit at a place/sub unit
  • Add a line
  • Save entity
  • Edit again
  • Delete the line
  • Save the entity

Line isn't visible anymore.

If you took other steps please specify. Have you tried force reloading the page to clear cache? Which browser/version are you using?

Also I saw no line at the provided link, only a shape which I didn't tried to delete for obvious reasons but I also tested shape in demo and could delete it without a problem.

Actions #2

Updated by Stefan Eichert over 4 years ago

It turned out that the linestring entry in the gis.linestring table had "shape" as type. This seems to have caused the but. See screenshot. Maybe this was still cached somewhere.
I manually deleted it from the db via sql and inserted a proper polygon.
I think we can close it for now. If it reoccurs somehow, we can take care of it then.

Actions #3

Updated by Alexander Watzinger over 4 years ago

  • Assignee set to Stefan Eichert
  • Subject changed from linestrings cannot be deleted to Linestrings cannot be deleted
  • Status changed from Resolved to Closed

Thanks for reporting and glad that we could solve it so fast. Closing the ticket but we keep it as reference in case something similar happens again.

Actions

Also available in: Atom PDF