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

Exception when changing parent of new page #2018

Closed
rhukster opened this issue Jan 14, 2021 · 2 comments
Closed

Exception when changing parent of new page #2018

rhukster opened this issue Jan 14, 2021 · 2 comments
Assignees

Comments

@rhukster
Copy link
Member

Created a new page, and it was not saved yet. I then changed parent, and hit save. This lead to an exception:

TypeError
Argument 1 passed to Grav\Framework\Route\RouteFactory::createFromString() must be of the type string, null given, called in /a/b/c/grav/grav/system/src/Grav/Common/Flex/Types/Pages/PageObject.php on line 103
@rhukster
Copy link
Member Author

A quick note, I had to back to pages list and then i noticed the move of the page into the correct location had occurred. Although order was not fixed, still shows 9999999.

Saving again fixed the ordering.

@mahagr
Copy link
Member

mahagr commented Jan 14, 2021

Fixes:
getgrav/grav@57c6414 (exception)
trilbymedia/grav-plugin-flex-objects@e813674 (bad redirect)
getgrav/grav@515eab7 (ordering)

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

2 participants