You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When viewing the history of a page and clicking on a state with status Unpublished, the History view hangs (not the whole CMS though, it's still possible to navigate to other pages in the site tree) and the console shows a 404 error. This does not happen for either Saved or Published states.
Unsuccessfully viewing an Unpublished state:
Successfully viewing a Published state:
Successfully viewing Saved states, before and after unpublishing:
Affected Version
4.7.2 (tested on the Silverstripe demo as well)
Description
When viewing the history of a page and clicking on a state with status
Unpublished
, the History view hangs (not the whole CMS though, it's still possible to navigate to other pages in the site tree) and the console shows a 404 error. This does not happen for eitherSaved
orPublished
states.Unsuccessfully viewing an Unpublished state:
Successfully viewing a Published state:
Successfully viewing Saved states, before and after unpublishing:
I've checked on Slack and I've searched through the existing issues, but this one doesn't seem to have been reported yet.
Steps to Reproduce
A request that looks like https://demo.silverstripe.org/admin/historyviewer/schema/versionForm/7206?RecordVersion=7&RecordClass=Page&RecordID=7206 will return the error
{"status":"error","errors":[{"type":"error","code":404}]}
(Note that this page will no longer exist, as the Silverstripe demo clears test pages periodically. This issue has been originally found on our code, and we only used the demo page to discard it being a project programming error).Full request cURL:
The text was updated successfully, but these errors were encountered: