-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Versioned::use_session Fallback breaks page editing #51
Comments
@Cheddam could you add steps to reproduce please? |
@robbieaverill Slightly trickier than I'd thought:
|
Thanks! |
Yeah, we became a lot less forgiving with stage names in that fix, I think... which has caused a little bit of pain here and there. |
We fixed a bunch of issues with tests that threw this exception after the 4.2 release. This section: Will need to use |
PR at #52 |
The
use_session
fallback introduced in SilverStripe 4.2 is intended to maintain the existing behaviour of the framework / CMS, by storing the stage in the session as before.When this fallback is enabled and
silverstripe-versioned-admin
is installed (as a dependency ofsilverstripe-elemental
in my case), attempting to open a page for editing in the CMS results in the following error:This issue can be temporarily alleviated by appending the stage to the URL (e.g.
?stage=Stage
).A somewhat similar issue with the
asset-admin
module has been raised here.The text was updated successfully, but these errors were encountered: