plone / Products.CMFPlone

The core of the Plone content management system
https://plone.org
GNU General Public License v2.0
243 stars 186 forks source link

folder_contents icons missing in classic UI after migration #3838

Open ewohnlich opened 11 months ago

ewohnlich commented 11 months ago

BUG/PROBLEM REPORT (OR OTHER COMMON ISSUE)

image

This is a default Plone Site, no addons or configuration changes. Migrated from 5.2.10 to 6.0.6. I do not have any issues with a site that is created in this environment in 6, it's only ones migrated from 5. As far as I can tell, the resource registry and theme css are exactly the same.

What I did:

Create a Plone Site in 5, make no changes. Copy the DB to a Plone 6 environment. The 5 environment was built with buildout and the 6 is built with just venv/pip.

What I expect to happen:

appropriate svg images for Selected and Rearrange buttons

What actually happened:

No svg images included so it uses the fallback Plone icon. This also increases the size of the button.

What version of Plone/ Addons I am using:

Migrated 5.2.10 to 6.0.6, no addons

petschki commented 11 months ago

I saw that some times too. Quickfix: go to portal_setup/import and import the plone-plone.staticresources:default profile with the recommended settings.

edit: this is because the icon registry has some missing entries.

ewohnlich commented 11 months ago

Thanks, that's an easy work around, I can add that to my migration script.