﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
11253	[Patch] Parkings and maxstay: no unit for the maxstay-time	anonymous	Klumbumbus	"==== What steps will reproduce the problem?

Select a random car parking and add a ""maxstay""-time using the dialogue:

Select the maxstay-time in minutes (0, 30, 60, ...) from the drop-down-menu, and a ""maxstay""-key/value-pair is added to the parking object. Everything works ok here.

==== What is the expected result?

According to the OSM wiki article on the ""maxstay""-key (osmwiki:Key:maxstay) and the previous discussion (osmwiki:Proposed_features/Maximum_Stay) it seems necessary to add a unit of time (minute(s), hour(s), day(s)) after the numeric value.

Example: the key/value-pair of a maxstay of 120 minutes should be ""maxstay=120 minutes"", but...

==== What happens instead?

... JOSM omits the time unit and writes only ""maxstay=120"" although the dialogue advises to enter the time in minutes.

Perhaps, if accepted as a bug, this might also be a candidate for the built-in check and validator functions...

{{{
Revision: 8109
Repository Root: http://josm.openstreetmap.de/svn
Relative URL: ^/trunk
Last Changed Author: Don-vip
Last Changed Date: 2015-03-02 00:13:51 +0100 (Mon, 02 Mar 2015)
Build-Date: 2015-03-02 02:30:58
URL: http://josm.openstreetmap.de/svn/trunk
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Rev: 8109

Identification: JOSM/1.5 (8109 de) Windows 7 64-Bit
Memory Usage: 123 MB / 989 MB (55 MB allocated, but free)
Java version: 1.8.0_31, Oracle Corporation, Java HotSpot(TM) Client VM
Dataset consistency test: No problems found

Plugins:
- FixAddresses (30892)
- HouseNumberTaggingTool (30892)
- OpeningHoursEditor (30962)
- RoadSigns (30977)
- buildings_tools (30955)
- imagery_offset_db (30892)
- namemanager (30892)
- public_transport (30892)
- reverter (30990)
- tageditor (30892)
- terracer (30892)
- turnlanes (30892)
- turnrestrictions (31034)

Last errors/warnings:
- E: java.io.IOException: No file found for: http://josm.openstreetmap.de/josmfile?page=Styles/PublicTransportation&style
- E: Fehler beim Laden des Bildes 'error_small.png'
- W: Mappaint style ""standard"" (FIXME Highlight Warnings) icon ""error_small.png"" not found.
- E: Fehler beim Laden des Bildes 'maxspeed_icon.svg'
- W: Mappaint style ""standard"" (Höchstgeschwindigkeit) icon ""maxspeed_icon.svg"" not found.
}}}
"	defect	closed	normal	20.05	Internal preset	tested	fixed	template_report maxstay unit	
