[openstreetmap/openstreetmap-website] GPS trace tag instructions are misleading (#3304)

Andrew notifications at github.com
Fri Aug 27 03:51:08 UTC 2021


Steps to reproduce:

1. At `/traces/new`, upload a trace with the Tags field set to `Foo Bar`.

Expected:

- The instructions under the field say “comma delimited”, so there should be just one tag named `Foo Bar`.

Actual:

- Because the field [doesn’t contain a comma](https://github.com/openstreetmap/openstreetmap-website/blob/6a9ab7cb2d36d87c87d4eace108dcda1433fd073/app/models/trace.rb#L55) it’s split at whitespace into two tags named `Bar` and `Foo`.

Workaround:

- Include an unnecessary comma, e.g. `Foo Bar,`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/3304
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20210826/50af3f8a/attachment.htm>


More information about the rails-dev mailing list