guardian / frontend

The Guardian DotCom.
https://theguardian.com
Other
5.85k stars 555 forks source link

410 removed page is not supported by interactive articles #27571

Open SiAdcock opened 3 weeks ago

SiAdcock commented 3 weeks ago

When an article is expired for rights reasons, we should see a holding page that says "Sorry - this page has been removed." (example).

However when an interactive page was forced to expire, we don't get this holding page, we just get a 410 response (example).

The 410 response is handled by the RenderOtherStatus object in package.scala. Controllers such as the ArticleController call out to this object, but the InteractiveController does not.

As per this thread:

https://groups.google.com/a/guardian.co.uk/g/dotcom.platform/c/4cFG2RtPvcA