﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10720	Autocomplete changing default values in presets	ukandystreet	team	"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?
1. Import the attached preset file.
2. Create a node and apply preset ""JOSM Test/Acme Mini"" using the default values.
3. 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"".

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
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.
}}}
"	defect	closed	normal	15.04	Core		fixed	template_report	Klumbumbus
