[openstreetmap/openstreetmap-website] Can a trace description be blank? (Issue #3598)

Anton Khorev notifications at github.com
Fri Jul 15 03:30:43 UTC 2022


### URL

https://www.openstreetmap.org/traces/new

### How to reproduce the issue?

1. go to *new trace* form
2. choose a file, leave everything else blank
3. try to submit, receive the message: *Description can't be blank, is too short (minimum is 1 character)*
4. choose a file again, enter a single space character in the description
5. try to submit, receive the message: *Description can't be blank*
6. choose a file again, enter a valid description
7. submit successfully
8. open the newly submitted trace and edit it
9. replace the description with a single space character
10. submit successfully

What was the point of rejecting a blank description on step 3 if it can be made blank by editing?

### Screenshot(s) or anything else?

_No response_

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/3598
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/3598 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220714/35f63139/attachment-0001.htm>


More information about the rails-dev mailing list