-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.X EE, 7.0.X, Master
-
Fix Version/s: 7.0.0 DXP FP52, 7.0.0 DXP SP9, 7.0.X, 7.1.0 Beta 2, 7.1.X, Master
-
Component/s: Content Display Widgets > Web Content Display widget
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
Steps to reproduce:
- Add a new Asset Publisher in a page. Configure it as default asset publisher of the page and set the links as "view in context" url
- Create a new web content (name it "Asturias") and set the previous AP as the display page for this content
- Go to the page and copy the link, or browse to it
- In another tab expire the content
- refresh the content tab
Expected: in the developer tools we should have a 410 (Gone) or 404 (not found) code
Current: We have a 200 code. With this code crowlers do not expire the link and it remains in their caches.
Bonus bug: Send the content to the recycle bin
Expected: in the developer tools we should have a 404 (not found) code
Current: We have a 200 code. With this code crowlers do not expire the link and it remains in their caches.