﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
16449	Presets 'default' field is ignored	Skybunny	team	"==== What steps will reproduce the problem?
1. Use a preset with defaults. An example is 'Bicycle Road', in Internal Presets, https://josm.openstreetmap.de/browser/trunk/data/defaultpresets.xml#L790 .
2. Set the Bicycle Road preset on a way, to get the detail entry box.
3. Defaults which are expected to be autofilled are not.

==== What is the expected result?
'vehicle' should be autofilled to 'no', and 'maxspeed' should be autofilled to '30'.

==== What happens instead?
Both values are ignored, as though they aren't part of the preset specification at all.

If editable is set to false on a combo key, then 'the first value identified in the list' is silently applied the first time the preset is used, and then explicitly shown in future uses. In either case, the actual specified 'default' value is apparently disregarded.

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-07-01 23:07:04 +0200 (Sun, 01 Jul 2018)
Revision:13996
Build-Date:2018-07-01 21:10:23
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (13996 en) Mac OS X 10.13.5
OS Build number: Mac OS X 10.13.5 (17F77)
Memory Usage: 284 MB / 5120 MB (116 MB allocated, but free)
Java version: 10.0.1+10, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: Display 69680128 1440x900
Maximum Screen Size: 1440x900
Dataset consistency test: No problems found

Plugins:
+ OpeningHoursEditor (34389)
+ apache-commons (34389)
+ ejml (34389)
+ geotools (34125)
+ jts (34206)
+ opendata (34389)
+ pbf (34389)
+ utilsplugin2 (34389)
+ wikipedia (v1.0.1)

Last errors/warnings:
- W: Missing plugin main version in plugin plastic_laf-sources
- W: Missing plugin main version in plugin pointInfo-javadoc
- W: Missing plugin main version in plugin pointInfo-sources
- W: Missing plugin main version in plugin poly-javadoc
- W: Missing plugin main version in plugin poly-sources
- W: Missing plugin main version in plugin print-javadoc
- W: Missing plugin main version in plugin print-sources
- W: Missing plugin main version in plugin utilsplugin2-javadoc
- W: Missing plugin main version in plugin utilsplugin2-sources
- W: No configuration settings found.  Using hardcoded default values for all pools.
}}}
"	defect	new	normal		Core			template_report	stoecker
