- Issue created by @acbramley
- @acbramley opened merge request.
- Status changed to Needs review
almost 2 years ago 10:26pm 13 February 2023 - π¦πΊAustralia acbramley
Not sure if this is testable, but this fixes it for me.
- π¬π§United Kingdom catch
Bumping this to critical, it's probably not data-loss as such, but it makes it a lot harder to review the config changes as a result of the update.
- π¦πΊAustralia acbramley
Pretty janky test coverage but it fails without the fix
1) Drupal\Tests\user\Functional\Update\UserUpdateRoleMigrateTest::testRolePermissions Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( 0 => 0 1 => 1 - 2 => 2 - 3 => 3 - 4 => 4 - 5 => 5 - 6 => 6 + 2 => 3 + 3 => 4 + 4 => 5 + 5 => 6 + 6 => 7 )
- Status changed to RTBC
almost 2 years ago 9:52am 15 February 2023 - π¬π§United Kingdom catch
I don't have any better ideas on the test coverage, better janky than nothing, especially when it's only got to last (but do it's job very well in the meantime) until Drupal 11.
- Status changed to Closed: duplicate
almost 2 years ago 12:49pm 15 February 2023 - π¬π§United Kingdom alexpott πͺπΊπ
There is a much better fix for this. This is a duplicate of π Role permissions not sorted in config export Fixed and that issue has a better fix that results in this being fixed in more siutations.
- π¦πΊAustralia acbramley
Thanks @alexpott I didn't even think of that approach.