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 , 12 years ago
Priority: | normal → major |
---|
comment:2 by , 12 years ago
Summary: | [Data loss] about tag vending for vending_machine → Data loss - about tag vending for vending_machine |
---|
comment:3 by , 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 , 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
The <multiselect> part of presets does not handle non-standard entries properly and simply caused deletion of them.