[Potlatch-dev] [OpenStreetMap] #3366: PL2: "advanced" tab: possible to create tags with empty key
OpenStreetMap
trac at openstreetmap.org
Sat Dec 4 07:41:58 GMT 2010
#3366: PL2: "advanced" tab: possible to create tags with empty key
------------------------+---------------------------------------------------
Reporter: sebastiank | Owner: potlatch-dev@…
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
More information about the Potlatch-dev
mailing list