When adding a Page item to the Menu, if the Title is not provided first, the builder can't set the menu.
Page is mapped, then user can move to title.
Page is not mapped, error window shows up with the error below:
TypeError: selection is undefined
It appears that the menu items require the Title first, however the Page to select is the first value. This will cause users to fill out the Page first and end up with the crash.
Switch Title to be the first field like with Link. Won't fix the bug entirely, but will make user experience better.
Found the error, and submitted a PR, will merge it soon.
Thank you for the detailed report @tjrexer! 馃憤
Hi @tjrexer, we just released a set of fixes, so this should work for you.
But before updating, can you tell me which version of CLI you have installed (webiny --version)? And maybe also the version of app-page-builder (in project root, run yarn list @webiny/app-page-builder)?
Just checking so we can see what would be the best way to upgrade.
If the CLI is on major version 3 or higher, then you can just run yarn upgrade --scope @webiny.
Thanks!
Ran yarn upgrade --scope @webiny from the project root, but it didn't update the app-page-builder, it's still @ version 3.1.1. It pulled the update for @webiny/api-page-builder to 3.0.3, but not app-page-builder.
Very weird... I just tried it, had a package 3.1.1, after running yarn upgrade --scope=@webiny, it upgraded it to 3.1.2.
Can you...
apps/site folder?apps/site/package.json? Thank you @tjrexer!
I had had tried all of those combinations. Semverlevel is set correctly in package.json with ^3.1.1. It may be a mirror replication delay since I'm in the US, so I'll try again tomorrow.
So upgrade wasn't working, either with scope or the @webiny/app-page-builder package. Outdated would show that the update was available. Had to run upgradeInteractive and select all the packages to get it to update.
After updating the repackaging, both of my latest issues were solved. Thanks guys.
Most helpful comment
So upgrade wasn't working, either with scope or the @webiny/app-page-builder package. Outdated would show that the update was available. Had to run upgradeInteractive and select all the packages to get it to update.
After updating the repackaging, both of my latest issues were solved. Thanks guys.