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

Renaming/moving (and likely copying) a portal leads to inconsistent catalog #3326

Open
d-maurer opened this issue Sep 26, 2021 · 2 comments
Open

Comments

@d-maurer
Copy link

Plone 5.2.x

Details: "zopefoundation/Products.CMFCore#118"

Workaround: enter the portal's "site context" (--> zope.component.hooks.setSite) before the operation (will not work for copying).

@mauritsvanrees
Copy link
Sponsor Member

I fear many other things would need fixing as well, next to the catalog. At least intids and relation catalog are likely a problem. Linkintegrity checks may fail. I admit that I am guessing. But I would not trust a renamed or copied site. Problem may only surface later.
Really I think this should not be supported. I would not mind if this raised an explicit error, or at least show a warning.

Some links:

@d-maurer
Copy link
Author

d-maurer commented Aug 24, 2022 via email

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

2 participants