Modify

Opened 12 years ago

Closed 12 years ago

#8605 closed defect (fixed)

Data loss - about tag vending for vending_machine

Reported by: Manu1400 Owned by: team
Priority: major Milestone:
Component: Core Version: latest
Keywords: dataloss; vending_machine Cc:

Description

When i add informations about a vending_machine with a "incorect" value of the tag 'vending', JOSM deleted the tag vending (and not alert me).

Example :
I want to correct the incorrect tag of a vending_machine :

  • amenity=vending_machine
  • vending=Alimentation <-- example of a wong value
  • name=...

If i use the GUI for modified the tag 'vending' it's not possible. But i "valid" that, the tag 'vending' is deleted.

Solution :

  • Don't delete the tag 'vending'

For information : JOSM/1.5 (5836 fr) Windows 7

Plugins installed :

  • Plugin: FastDraw (29457)
  • Plugin: geotools (29435)
  • Plugin: imageryadjust (29435)
  • Plugin: jts (29435)
  • Plugin: opendata (29435)
  • Plugin: reverter (29435)
  • Plugin: utilsplugin2 (29435)

Attachments (0)

Change History (5)

comment:1 by stoecker, 12 years ago

Priority: normalmajor

The <multiselect> part of presets does not handle non-standard entries properly and simply caused deletion of them.

comment:2 by stoecker, 12 years ago

Summary: [Data loss] about tag vending for vending_machineData loss - about tag vending for vending_machine

comment:3 by Manu1400, 12 years ago

The <multiselect> part of presets does not handle non-standard entries properly and simply caused deletion of them.

It's exact.

And actual code of this <muliselect> is :

<multiselect key="vending" text="Vending products" values="animal_food;bicycle_tube;cigarettes;condoms;drinks;excrement_bags;food;news_papers;parking_tickets;photos;public_transport_plans;public_transport_tickets;SIM-cards;stamps;sweets;tampons;telephone_vouchers;toys;vouchers" />

from http://josm.openstreetmap.de/browser/josm/trunk/data/defaultpresets.xml#L5327

comment:4 by Manu1400, 12 years ago

And in past the code was :

<multiselect key="vending" text="Vending products" values="animal_food;bicycle_tube;cigarettes;condoms;drinks;excrement_bags;food;news_papers;parking_tickets;photos;public_transport_plans;public_transport_tickets;SIM-cards;stamps;sweets;tampons;telephone_vouchers;toys;vouchers" />

from http://josm.openstreetmap.de/browser/josm/trunk/data/defaultpresets.xml?rev=3195#L2734

comment:5 by Don-vip, 12 years ago

Resolution: fixed
Status: newclosed

In 5866/josm:

fix #8605 - Presets: Tags deleted when using Multiselect on an existing object with unknown value

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.