[Potlatch-dev] [OpenStreetMap] #4614: Using match in input type=choice doesn't include the value

OpenStreetMap trac at noreply.openstreetmap.org
Mon Oct 8 12:13:36 BST 2012


#4614: Using match in input type=choice doesn't include the value
-----------------------+----------------------------
 Reporter:  smsm1      |      Owner:  potlatch-dev@…
     Type:  defect     |     Status:  new
 Priority:  minor      |  Milestone:
Component:  potlatch2  |    Version:
 Keywords:             |
-----------------------+----------------------------
 For example
 <choice value="both" text="Both" description="There is a sidewalk on both
 sides of the road." match="yes"/>

 Should match both "yes" and "both", even so yes is not mentioned in the
 match statement.

 The following does work by using the pipe symbol:
 <choice value="both" text="Both" description="There is a sidewalk on both
 sides of the road." match="both|yes"/>

 There's no conceivable reason for the value to not be included in the
 match automatically.

-- 
Ticket URL: <https://trac.openstreetmap.org/ticket/4614>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world



More information about the Potlatch-dev mailing list