Autocomplete changing default values in presets
I was building a preset file to simplify tagging of some common local retail brands when I noticed that occasionally the default value shown in JOSM would differ from the value specified in the XML file. What I suspect is happening here is that whilst populating the text field with the default value JOSM's auto-complete code is triggered causing a previously entered value to be presented to the user rather than the default intended by the preset author.
What steps will reproduce the problem?
- Import the attached preset file.
- Create a node and apply preset "JOSM Test/Acme Mini" using the default values.
- Create a second node and select "JOSM Test/Acme" preset.
What is the expected result?
The "JOSM Test/Acme" preset dialog should show the default value of "Acme" in the "Shop Name" field.
What happens instead?
"Acme Mini" is presented as the default value for "Shop Name".
Build-Date: 2014-11-05 14:52:43
Revision: 7707
Is-Local-Build: true
Identification: JOSM/1.5 (7707 SVN en_GB) Linux Debian GNU/Linux 7.7 (wheezy)
Memory Usage: 208 MB / 455 MB (138 MB allocated, but free)
Java version: 1.7.0_65, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u65-2.5.1-5~deb7u1
Dataset consistency test: No problems found
Plugins:
- reverter (30737)
- turnrestrictions (30762)
- undelete (30762)
Last errors/warnings:
- E: Failed to locate image 'maxspeed_icon.svg'
- W: Mappaint style "standard" (Maxspeed) icon "maxspeed_icon.svg" not found.
Change History
(4)
Resolution: |
→ fixed
|
Status: |
new → closed
|
Sample preset file