-
-
Notifications
You must be signed in to change notification settings - Fork 825
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
dev/core#2812 Fix issue where having a processor configured with a se… #21347
Conversation
…arch output casues WSOD not allowing for access to upgrade screen
(Standard links)
|
@seamuslee001 if we do this we should do the same for recaptcha I guess? |
In the mini conversation at #20952 (comment) it was suggested extensions would need to "add the tag to their html", which I interpreted as "add dependencies to info.xml". Is that what's needed here? |
Or maybe this is different since it happens earlier? I don't think the extension I tested did anything too fancy. |
@demeritcowboy I think the problem is that it is happening because they are referencing classes in the hook_container that depend on a class that has moved but the extension hasn't been installed by the upgrade step so the class cannot be found on the include path @eileenmcnaughton I don't think we should do this for recaptcha because recaptcha I think is a different issue tbqh |
Is there a way to do this without having to hardcode things into |
@mattwire yeah I think all our brains are screaming about that one! In this case not loading dashlets before the upgrade has run would prevent the symptoms as reported - and I suspect that would reduce other upgrade risks Worth noting is that |
A tentative +1 on doing this for 5.42/5.41 and thinking about something better for master. |
Agree with the above comments - it's awkward as long-term fix, but it's OK as a short-term/temporary work-around. The awkward aspects of this short-term fix are (1) unusual style+code-path (2) it will tend to obscure other ways that dependencies are misaligned. On MM, we discussed another potential short-term work-around: move The main question seems to be: where should this land long-term? Some observations:
It seems to me that the goal would be:
This MR for TBH, after understanding the bug better, I'm a little on the fence about whether I'm +1 on merging the work-around for 5.41-stable - but ambivalent on adding it to 5.42-rc. |
I would go with merging the released fix to the rc & then reverting in master - that is closer to our normal practice (normally we would merge to the rc first but it's otherwise the same) and also gives a little more time for the data processor fix to work it's way through the system. |
On call agreed to merge & revert in master |
…arch output casues WSOD not allowing for access to upgrade screen
Overview
This fixes a problem with the dataprocessor extension being enabled after deploying the 5.41 code base and before upgrade step causing a WSOD due to the reliance on the legacy custom search classes
Before
WSOD and cannot even access the UI upgrade screen
After
No WSOD
Technical Details
The problem seems to be that there is some heavy dependency on the base custom search class in dataprovider which is causing issues pre db upgrade step
ping @eileenmcnaughton @agileware-justin @totten