[openstreetmap/openstreetmap-website] Can a trace description be blank? (Issue #3598)
Anton Khorev
notifications at github.com
Mon Jul 18 13:02:37 UTC 2022
> So I think we should focus this issue on fixing the edge case that you found, rather than changing the expected behaviour. If there's a widespread desire to change descriptions to be completely optional again then that can be discussed separately.
And the fix is to undo that commit: change `:presence => { :on => :create }` to `:presence => true` for [description validation](https://github.com/openstreetmap/openstreetmap-website/blob/48fff2bfeabb9a9bafd78c9cd4a0077e6569b631/app/models/trace.rb#L48)?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/3598#issuecomment-1187362750
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/3598/1187362750 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220718/984f78fe/attachment.htm>
More information about the rails-dev
mailing list