Opened 5 years ago

Last modified 4 years ago

#20024 new defect

No warning when multipolygon preset is applied to multipolygon — at Version 2

Reported by: GerdP Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc: Klumbumbus, skyper

Description (last modified by GerdP)

What steps will reproduce the problem?

Follow up of #19951

  1. Select a multipolygon relation
  2. Presets -> Relations -> Multipolygon
  3. In popup click "New relation" (for whatever reason)

What is the expected result?

Either a message that selection is invalid or that the new multipolygon relation has the ways of the existing multipolygon when relation editor is openend.

What happens instead?

Relation editor opens with the multipolygon relation as member.

Please provide any additional information below. Attach a screenshot if possible.

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-10-03 13:42:38 +0200 (Sat, 03 Oct 2020)
Build-Date:2020-10-04 01:30:47
Revision:17084
Relative:URL: ^/trunk

Identification: JOSM/1.5 (17084 en) Windows 10 64-Bit
OS Build number: Windows 10 Home 2004 (19041)
Memory Usage: 1109 MB / 3641 MB (606 MB allocated, but free)
Java version: 1.8.0_221-b11, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920x1080 (scaling 1.0x1.0)
Maximum Screen Size: 1920x1080
Best cursor sizes: 16x16 -> 32x32, 32x32 -> 32x32
VM arguments: [-XX:StartFlightRecording=name=MyRecording2,settings=d:\dbg\gerd.jfc, -XX:FlightRecorderOptions=defaultrecording=true,dumponexit=true,dumponexitpath=e:\ld\perf_20201103_091714.jfr]
Dataset consistency test: No problems found

Plugins:
+ OpeningHoursEditor (35579)
+ apache-commons (35524)
+ buildings_tools (35579)
+ continuosDownload (91)
+ ejml (35313)
+ geotools (35169)
+ jaxb (35092)
+ jts (35122)
+ o5m (35248)
+ opendata (35513)
+ pbf (35636)
+ poly (35248)
+ reltoolbox (35602)
+ reverter (35579)
+ undelete (35521)
+ utilsplugin2 (35624)

Validator rules:
+ c:\josm\core\resources\data\validator\geometry.mapcss

Last errors/warnings:
- 00593.190 W: Unsaved changes - <html>The relation has been changed.<br><br>Do you want to save your changes?</html>
- 00594.205 W: Unsaved changes - <html>The relation has been changed.<br><br>Do you want to save your changes?</html>

Change History (3)

by GerdP, 5 years ago

Attachment: preset-with-mp.PNG added

comment:2 by GerdP, 5 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.