Modify

Opened 3 years ago

Closed 3 years ago

#12529 closed defect (fixed)

regression: boundary preset cannot be applied to a multipolygon relation.

Reported by: moltonel Owned by: team
Priority: normal Milestone: 16.02
Component: Internal preset Version:
Keywords: template_report Cc:

Description

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

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by Klumbumbus

Component: CoreInternal preset
Milestone: 16.02

comment:2 Changed 3 years ago by Klumbumbus

Resolution: fixed
Status: newclosed

In 9791/josm:

fix #12529 - allow to use boundary preset on multipolygons

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.