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

EWPP-4910: Prevent crash on release update hooks. #209

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

upchuk
Copy link
Contributor

@upchuk upchuk commented Feb 17, 2025

Fixes #208

It seems that some sites load services that in their constructor end up calling in the stack trace a user load. And this causes the container to crash because the new user field doesn't exist (user__field_oe_ldap_groups).

This is very difficult to reproduce, the only way I managed was to add to the constructor of a random service, a User::loadMultiple(). But not just any service. I tried with ExternalAuth where it was fine. But then in DatabaseLockBackend it crashed. I think it may happen only in cases in which the service in question is a dependency of another service.

@upchuk upchuk force-pushed the EWPP-4910-2 branch 2 times, most recently from 7859bd8 to 36a7ae3 Compare February 17, 2025 14:33
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.

Base table or view not found after installing v1.18
2 participants