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

Registry records' values reset after upgrade to Plone 6? #3914

Open
gforcada opened this issue Mar 4, 2024 · 3 comments
Open

Registry records' values reset after upgrade to Plone 6? #3914

gforcada opened this issue Mar 4, 2024 · 3 comments

Comments

@gforcada
Copy link
Sponsor Contributor

gforcada commented Mar 4, 2024

Hi,

in our policy product we are overriding plone.roles_allowed_to_add_keywords registry record.

But after the upgrade (this weekend) our editors complain that they can not add new keywords.

Indeed, if I look at that registry record, it has no values at all ❗ 😱

If I export the registry from production I see that the difference is that now the interface for that record moved from Products.CMFPlone.xxx.ISiteSchema to plone.base.interfaces.controlpanel.ISiteSchema.

Does that mean (I will check myself) that all interfaces that have registry records that got moved around from CMFPlone to plone.base or other packages, have lost their configuration? 😰

@stevepiercy
Copy link
Contributor

From what version to what version?

If it helps, you can check all the release notes: https://plone.org/download/releases. (I just noticed, we don't have Plone release notes on Documentation 😱 .)

At least the upgrade guides are well-documented: https://6.docs.plone.org/upgrade/index.html

@mauritsvanrees
Copy link
Sponsor Member

Related is this fix, also handling registry records
plone/plone.app.upgrade#318

@yurj
Copy link
Contributor

yurj commented Mar 4, 2024

The question is why the key is the interface? I know you can query the registry by interface but this means that only one path is allowed or that aliases are not possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants