Skip to content
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

Unable to restore pages from archive with ElementalArea extension applied #378

Closed
2 tasks done
TheSceneman opened this issue Dec 11, 2024 · 1 comment
Closed
2 tasks done
Assignees
Labels

Comments

@TheSceneman
Copy link

TheSceneman commented Dec 11, 2024

Module version(s) affected

2.3.0

Description

When clicking the "restore draft" button on an archived page, the webpage gets stuck on the Silverstripe CMS logo spinner. The console output is a breaking javascript error: Cannot read properties of undefined (reading 'elemental-area-id')

How to reproduce

Archive a page with an elemental area.
Go to archive admin.
Open archived page.
Click restore draft.

Possible Solution

@GuySartorelli has a fix for this

Additional Context

No response

Validations

  • Check that there isn't already an issue that reports the same bug
  • Double check that your reproduction steps work in a fresh installation of silverstripe/installer (with any code examples you've provided)

PRs

@emteknetnz
Copy link
Member

Linked PR has been merged, a patch released will automatically tagged shortly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants