Project-OMOTES / user_feedback

Repository to hold all feedback (bugs and feature request) from users
1 stars 0 forks source link

[Bug]: Cannot add an asset in the area a polygon was active #39

Closed lfse-slafleur closed 4 months ago

lfse-slafleur commented 6 months ago

Is there an existing issue for this?

What happened?

Found together with: jan.van.dorst@rhdhv.com

An error is thrown in the console when trying to add an asset in an area where a polygon was placed but removed. System: nwn-design-toolkit-poc.nl

Steps to reproduce the problem

  1. Go to nwn-design-toolkit-poc.nl
  2. Draw a polygon
  3. Place an asset e.g. a heat demand
  4. Remove the polygon
  5. Now place an asset again in the area the polygon was active.
  6. Note that no asset was placed

What should have happened?

The asset should have been placed on the map.

What browsers do you use to access the UI?

Google Chrome

Additional information

The error after placing the asset when the polygon is removed:

image

lfse-slafleur commented 6 months ago

@jvandorstrhdhv

ewoudwerkman commented 4 months ago

Nice catch! Fixed in next MapEditor release (24.6)