﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
19951	No warning when multipolygon preset is applied to node(s) only	GerdP	GerdP	"==== What steps will reproduce the problem?
1. Select one or more nodes
2. Presets -> Relations -> Multipolygon 
3. In popup click ""New relation""

==== What is the expected result?
Relation editor opens and notification is shown that multipolygon is not correct.
==== What happens instead?
Relation editor opens, no notification
==== Please provide any additional information below. Attach a screenshot if possible.
Found this while looking for memory leaks (#19885)
We can show either existing `Multipolygon is not closed` or a new message like `No way in multipolygon`. 
{{{
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: 1122 MB / 3641 MB (790 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_20201017_095042.jfr]
Dataset consistency test: No problems found

Plugins:
+ OpeningHoursEditor (35579)
+ PolygonCutOut (v0.7)
+ apache-commons (35524)
+ buildings_tools (35579)
+ continuosDownload (91)
+ ejml (35313)
+ geotools (35169)
+ jaxb (35092)
+ jts (35122)
+ merge-overlap (35583)
+ o5m (35248)
+ opendata (35513)
+ pbf (35446)
+ poly (35248)
+ reverter (35579)
+ undelete (35521)
+ utilsplugin2 (35580)

Last errors/warnings:
- 00044.575 W: Unsaved changes - <html>The relation has been changed.<br><br>Do you want to save your changes?</html>
}}}
"	defect	closed	minor	20.11	Core		fixed	template_report multipolygon presets	Klumbumbus
