openstreetmap/iD

Tag values over 255 characters long are silently truncated in raw tag editor

Offen

#10.241 geöffnet am 12.05.2024

 (7 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (1.449 Forks)github user discovery
help wantedusability

Repository-Metriken

Stars
 (3.818 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 29T 14h) (82 gemergte PRs in 30 T)

Beschreibung

URL

https://www.openstreetmap.org/node/11829238608/history

How to reproduce the issue?

Enter a tag value longer then 255 characters, as tag value for some key and then upload the changeset.

They value of the tag will be truncated after upload.

This easily occurs when writing complex opening_hours=* with comments, as common e.g. for German physicians (after I hit the 255 char limit limit the 2nd time, I report it now). You can also look at the the German opening_hours=*-page (machine translated), if you need some more complex rule examples.

Screenshot(s) or anything else?

The user should be notified about this and the actual length of the values over the 255 character limit should be displayed in some kind to help to shorten the comments or remove some whitespaces.

Which deployed environments do you see the issue in?

Released version at openstreetmap.org/edit

What version numbers does this issue effect?

2.29.0

Which browsers are you seeing this problem on?

Firefox

Contributor Guide