[openstreetmap/openstreetmap-website] Error 500 when browsing way history (#1476)
Andy Allan
notifications at github.com
Wed Mar 8 08:49:20 UTC 2017
> The redact API can only be called on deleted objects.
Note that this is not accurate - the redact API can be called on any version of any object, so long as it is not the latest version.
https://github.com/gravitystorm/openstreetmap-website/blob/6c0501d62a72fe217c522bcbf0017926c7e30fd6/lib/redactable.rb#L14-L21
I'm sure that in most day-to-day cases the object is also deleted when the old versions are redacted, but for example during the licence change we redacted old versions of still-visible objects.
I thought I should clarify here in case it causes confusion in the future.
--
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/1476#issuecomment-284982674
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170308/a63c0107/attachment-0001.html>
More information about the rails-dev
mailing list