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

Fix user schema caching for 5.2 #115

Merged
merged 3 commits into from
Feb 24, 2023
Merged

Conversation

mauritsvanrees
Copy link
Member

This is a back port of PR #114 for Plone 5.2. I saw issue #76 on a customer site today.

Actually, with the current code, test_regression_76_user_information fails and test_regression_76_personal_information passes.
With manual testing in a site, they both fail.
…e portal.

This prevents seeing an empty user profile when you have custom user schemas.
This fixes #76.
Add extra test with Manager visiting both user and personal information.
In the initial backport of this fix, I saw a regression:
as Manager visit the user information of a member, then go to your personal information,
and you see the fullname, etc, of the member.
Tried on Plone 6 as well, but there it goes fine.
@mister-roboto
Copy link

@mauritsvanrees thanks for creating this Pull Request and helping to improve Plone!

TL;DR: Finish pushing changes, pass all other checks, then paste a comment:

@jenkins-plone-org please run jobs

To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically.

Happy hacking!

@mauritsvanrees
Copy link
Member Author

@jenkins-plone-org please run jobs

@mauritsvanrees
Copy link
Member Author

Works fine on live site.

@mauritsvanrees mauritsvanrees merged commit 2f493bc into 2.6.x Feb 24, 2023
@mauritsvanrees mauritsvanrees deleted the maurits-schema-caching-fix-52 branch February 24, 2023 15:57
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

Successfully merging this pull request may close these issues.

2 participants