Closed (fixed)
Project:
Layout Paragraphs
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jan 2022 at 17:12 UTC
Updated:
23 Dec 2023 at 16:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
anybodyPerhaps this was due to missing default settings when upgrading instead of fresh installation?
Similar to #3264678: Setting "Paragraph Behaviors Fieldset Position" is empty on update from 1.x?
If anyone is able to reproduce, please report.
Comment #3
anybodyComment #4
anybodyJust ran into the same issue again on a different project.
Clearing cache before running the update solves the issue. So maybe (see the watchdog issue in the summary) we need to clear specific caches in the beginning of the update?
Comment #5
anybodySetting this to active again, as clearing caches before running the update seems to solve it.
Comment #6
minoroffense commentedThe query in the update hook doesn't check if the $ids list actually brings results (even if the initial max count showed more). Best guess is that the queries don't take count of language when it initially does the $max value (in my local env the count would stop about 50% of the way through and I have a billingual app).
So you end up with a check that will never reach the max processed ids. I added a check on that finished flag to see if the ids query returned anything or not. If it's empty presumably there's nothing left to do.
Comment #7
anybodyThanks @minorOffense, perhaps justin2pin can have a look if that can cause the issue. So you can confirm the same happened to you?
(Before I was the only one reporting this issue).
Comment #8
heikofischer commentedI can confirm update 1.0.0 => 2.0.1 runs forever on
drush updb- patch from #6 fixes this behaviour.Comment #9
cobadger commentedMarking this as RBTC - patch #6 solved this issue for me.
Comment #13
justin2pin commented