#3366: PL2: "advanced" tab: possible to create tags with empty key
------------------------+---------------------------------------------------
 Reporter:  sebastiank  |       Owner:  potlatch-...@…                
     Type:  defect      |      Status:  new                           
 Priority:  minor       |   Milestone:                                
Component:  potlatch2   |     Version:                                
 Keywords:              |  
------------------------+---------------------------------------------------
 It shouldn't be possible to create a tag with either key or value is the
 string of length 0.

 (See http://www.openstreetmap.org/browse/node/1019041185/history for an
 example.)

 On top of that, it should always trim spaces at the start and at the end
 of a key or value string.

 I'd suggest to render "(new tag)" and "(new value)" in italic font and not
 count it as a tag change unless both fields have been edited. It shouldn't
 be necessary to initialize the cell editor with this placeholder string
 because you never enter something ot that kind.

 Why not rename "(new tag)" --> "(new key)"?

 (Used the Potlatch 2 version that

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

_______________________________________________
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev

Reply via email to