cityofaustin / atd-data-tech

Austin Transportation Data & Technology Services
17 stars 2 forks source link

[Bug] Map error handler not rendering on projects without locations #6228

Closed amenity closed 3 years ago

amenity commented 3 years ago

On Production, all existing project geometries are gone.

sergiogcx commented 3 years ago

It will not be difficult to show the placeholder instead.

sergiogcx commented 3 years ago

@amenity So for now I've updated all the production projects to be editable by adding a feature. I can replicate the conditions in staging or locally to mimc this error in those environments while making all the maps editable.

amenity commented 3 years ago

@sergiogcx - thanks! This is working super. Should I create the map-error-handler-not-rendering into another bug report?

Side note: It appears I'm able to delete all locations now, though. Earlier, we prevented users from doing this: https://github.com/cityofaustin/atd-moped/pull/265 ... Should I make a bug report for this?

sergiogcx commented 3 years ago

Ah, yes there is a PR, test using moped-test: https://github.com/cityofaustin/atd-moped/pull/330