-
Notifications
You must be signed in to change notification settings - Fork 350
Description
Q | A |
---|---|
Sulu Version | 3.0.x-dev b435a0b |
PHP Version | 8.4.3 |
DB Version | Postgres 16.7 |
Browser Version | Firefox 135 |
Actual Behavior
When using the latest commit on the 3.0 branch, I attempt to edit webpace pages. However, there is a 500 error on the call to the /admin/metadata/list/pages
endpoint:
There is no Metadata available for the type "list" with the key "pages".
This causes the hierarchy of pages in the webspace to not display, making this view basically unusable.
Expected Behavior
The view works correctly as before.
Steps to Reproduce
Simply try and view this screen after upgrading the to the latest 3.0 branch, and look at the Network tab of the developer console to see the 500 error. Clearing the cache is required.
Possible Solutions
I think this is caused by the addition of the new Page Bundle under sulu/sulu/packages
. It looks like there's some kind of competing demands for the list metadata for Pages. If I remove the sulu/sulu/packages/page
directory, the problem goes away.
As a temporary solution, I have discovered that if I copy the list XML from the OLD PageBundle at src/Sulu/Bundle/PageBundle/Resources/config/lists/pages.xml
and place the copy in config/lists/pages.xml
then suddently things start working correctly again.