Closed (fixed)
Project:
Drupal core
Version:
10.3.x-dev
Component:
locale.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Jul 2024 at 02:16 UTC
Updated:
18 Jul 2024 at 09:04 UTC
Jump to comment: Most recent
Comments
Comment #3
quietone commentedComment #4
quietone commentedComment #5
alexpottI think given we have to sort the index on Postgres the assertions are largely pointless.
Comment #6
alexpottComment #8
alexpottThis looks great now.
Comment #9
longwaveWhy not just check that the index exists after the update? We should trust that the database driver has tests that ensure an index is actually structured correctly, we don't need to re-assert that here.
Comment #10
alexpottOpened #3458971: Postrges implementation of introspectIndexSchema is incorrect to fix the postgres schema inspection issue - I think the postgres implementation is incorrect and sorting by column name makes the method less valuable.
Comment #11
alexpott@longwave pointed out we should be able to trust our APIs and not assrt against the internals - so removed the assertions on index structure.
Comment #12
longwaveLooks good to me.
Comment #13
catchCommitted/pushed to 11.x and cherry-picked back through to 10.3.x, thanks!
Comment #18
catch