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

Widgets break comparing history for pages #119

Open
matt-in-a-hat opened this issue Jun 26, 2019 · 0 comments
Open

Widgets break comparing history for pages #119

matt-in-a-hat opened this issue Jun 26, 2019 · 0 comments

Comments

@matt-in-a-hat
Copy link

The "compare" function of page history tab breaks for page types that have the WidgetPageExtension applied.

Tested with a new install of

"cwp/cwp-recipe-cms": "^2.3",
"silverstripe/recipe-blog": "^1.3"

This results in the error:

ERROR [Emergency]: Uncaught InvalidArgumentException: $content parameter needs to be a string or array
IN GET /admin/historyviewer/schema/compareForm/6?RecordVersionFrom=3&RecordVersionTo=5&RecordClass=SilverStripe\Blog\Model\Blog&RecordID=6
Line 170 in /Users/matt/src/ms/silverstripe-example/vendor/silverstripe/framework/src/View/Parsers/Diff.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants