﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
12529	regression: boundary preset cannot be applied to a multipolygon relation.	moltonel	team	"==== What steps will reproduce the problem?
1. Create/select a simple multipolygon (relation with type=multipolygon, 2 member ways with role outer)
2. Go to presets -> relations -> boundary
3. Try to click ""apply preset""

==== What is the expected result?

The preset dialog box should accept the selected object, and the relation's tag is changed from type=multipolygon to type=boundary.

==== What happens instead?

The dialog box says ""selection unsuitable!"" and the ""apply preset"" button is disabled.

If you manually retag the relation to type=boundary, it works.

==== Please provide any additional information below. Attach a screenshot if possible.

Interestingly, the opposite operation (applying the ""multipolygon"" preset to a ""type=boundary"" relation) works.

This is a regression, but I've delayed reporting it for at least a month and I'm not sure when it was introduced. I also tried with a blank ~/.josm folder.

I originally encountered this bug while trying to use the external ""irish boundaries"" townland preset.

{{{
Build-Date:2016-02-12 14:06:16
Revision:9789
Is-Local-Build:true

Identification: JOSM/1.5 (9789 SVN en) Linux Gentoo Base System release 2.2
Memory Usage: 754 MB / 1749 MB (301 MB allocated, but free)
Java version: 1.7.0_95-b00, Oracle Corporation, OpenJDK 64-Bit Server VM
VM arguments: [-Djava.library.path=/lib:/usr/lib]
Dataset consistency test: No problems found

Plugins:
- HouseNumberTaggingTool (31772)
- Mapillary (32040)
- OpeningHoursEditor (31772)
- PicLayer (31895)
- SimplifyArea (31895)
- apache-commons (31895)
- apache-http (31895)
- buildings_tools (31895)
- cadastre-fr (32060)
- continuosDownload (1446070193)
- contourmerge (1014)
- ejml (31895)
- geochat (31895)
- geotools (31895)
- imagery_offset_db (32046)
- jna (31877)
- jts (31772)
- measurement (31895)
- merge-overlap (31967)
- reltoolbox (31895)
- reverter (32005)
- splinex (31895)
- terracer (31895)
- todo (29154)
- turnrestrictions (31895)
- utilsplugin2 (32018)

Last errors/warnings:
- W: Could not register JMX bean.
- E: Region [mapillary] Problem loading keys for file mapillary
}}}
"	defect	closed	normal	16.02	Internal preset		fixed	template_report	
