Closed (fixed)
Project:
UI Patterns (SDC in Drupal UI)
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 May 2025 at 02:09 UTC
Updated:
22 Jul 2026 at 15:20 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
sea2709 commentedI looked into the source code and I see that there are some update hooks to remove some updates from 1.x. I'm not quite sure why the installed version of UI Patterns, UI Patterns Layout and UI Patterns Views on my site is 8000. I just took over this site for about 3.5 years, and we kept using UI Patterns 1.x since then (without any further development related to UI Patterns 1.x). When UI Patterns released version 2, I upgraded UI Patterns to version 2 beta.
I added a patch for some checking the installed versions of modules before removing it.
Comment #3
pdureau commentedComment #4
grimreaperHello,
Please create a MR.
I think you can change the schema version of those modules in key_value table to point to the hook_update_N mentioned in those modules.
Comment #6
sea2709 commented@grimreaper: I just created a MR. Yeah, I can change the schema version in key_value table on my local only, in my company, we're not allowed to do that on the servers, except some edge cases!
Comment #7
just_like_good_vibesplease review :) @grimreaper
Comment #8
grimreaperHello,
I did a small change (>= instead of >) and manually tested before and after the change. In both cases it was ok.
Pipeline is in error due to this evening Core security release.
RTBC, just rerun the pipeline when you want to merge.
Comment #10
grimreaper