Modify

Opened 7 weeks ago

Closed 7 weeks ago

#24531 closed defect (fixed)

Conditional: "permit" should be a valid restriction value

Reported by: aulennert@… Owned by: GerdP
Priority: normal Milestone:
Component: Core validator Version:
Keywords: Conditional_restrictions Cc:

Description

What steps will reproduce the problem?

Picnic sites at Rock Creek park in Washington, D.C. USA are open to the public, but some require a permit during the summer and fall season, while remaining open without permit needed the rest of the year.

  1. Add tag access:conditional=permit @ Apr-Nov

What is the expected result?

"Permit" is a valid access and is stated as valid in conditionals on the wiki https://wiki.openstreetmap.org/wiki/Conditional_restrictions#_Restriction-value

What happens instead?

Validation warning "Error in access:conditional value: permit is not a valid restriction value"

Please provide any additional information below. Attach a screenshot if possible.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2025-02-27 18:02:18 +0100 (Thu, 27 Feb 2025)
Revision:19342
Build-Date:2025-02-28 02:30:51
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (19342 en) Linux Mint 22
Memory Usage: 6400 MB / 23920 MB (2335 MB allocated, but free)
Java version: 17.0.15+6-Ubuntu-0ubuntu124.04, Ubuntu, OpenJDK 64-Bit Server VM
Look and Feel: com.formdev.flatlaf.FlatDarkLaf
Screen: :0.0 3840x2160x[Multi depth]@60Hz (scaling 1.00×1.00) :0.1 3840x2160x[Multi depth]@[Unknown refresh rate] (scaling 1.00×1.00)
Maximum Screen Size: 3840×2160
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: en_US.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: Hyprland
Java package: openjdk-17-jre:amd64-17.0.15+6~us1-0ubuntu1~24.04
libcommons-logging-java: libcommons-logging-java:-
fonts-noto: fonts-noto:all-20201225-2
VM arguments: [--module-path=/usr/share/openjfx/lib, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, -Djosm.restart=true, -Djava.net.useSystemProxies=true, -XX:MaxRAMPercentage=75.0, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED]
Dataset consistency test: No problems found

Plugins:
+ OpeningHoursEditor (36438)
+ RoadSigns (36438)
+ buildings_tools (36438)
+ fastdriveway (v1.0.1)
+ flatlaf (36438)
+ turnrestrictions (36458)

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/iD&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/BuildingColors&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransportV2&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1

Last errors/warnings:
- 00351.454 W: java.io.IOException: Attribution is not loaded yet
- 00351.455 W: java.io.IOException: Attribution is not loaded yet
- 00351.455 W: java.io.IOException: Attribution is not loaded yet
- 00351.455 W: java.io.IOException: Attribution is not loaded yet
- 00351.455 W: java.io.IOException: Attribution is not loaded yet
- 00351.456 W: java.io.IOException: Attribution is not loaded yet
- 00351.456 W: java.io.IOException: Attribution is not loaded yet
- 00354.813 W: Unable to convert property color to type class java.awt.Color: found leisuretrack#de5b82b of type class java.lang.String!
- 00355.417 W: Unable to convert property color to type class java.awt.Color: found leisuretrack#de5b82b of type class java.lang.String!
- 00359.701 W: Unable to convert property color to type class java.awt.Color: found leisuretrack#de5b82b of type class java.lang.String!

Attachments (0)

Change History (2)

comment:1 by GerdP, 7 weeks ago

Owner: changed from team to GerdP
Status: newassigned

comment:2 by GerdP, 7 weeks ago

Resolution: fixed
Status: assignedclosed

In 19445/josm:

fix #24531: Conditional: "permit" should be a valid restriction value

  • add permit to the list of allowed values

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain GerdP.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.