- Issue created by @dieterholvoet
- πͺπΈSpain marthinal
I have this error when updating Drupal core:
> [notice] Update started: system_post_update_add_langcode_to_all_translatable_config > [notice] Processed 50 items of 1278. > [notice] Processed 100 items of 1278. > [notice] Processed 150 items of 1278. > [notice] Processed 200 items of 1278. > [notice] Processed 250 items of 1278. > [notice] Processed 300 items of 1278. > [notice] Processed 350 items of 1278. > [notice] Processed 400 items of 1278. > [notice] Processed 450 items of 1278. > [notice] Processed 500 items of 1278. > [notice] Processed 550 items of 1278. > [notice] Processed 600 items of 1278. > [notice] Processed 650 items of 1278. > [notice] Processed 700 items of 1278. > [notice] Processed 750 items of 1278. > [error] AssertionError: assert($typed_config instanceof Mapping) in assert() (line 264 of /var/www/html/docroot/core/modules/system/system.post_update.php) #0 /var/www/html/docroot/core/modules/system/system.post_update.php(264): assert(false, 'assert($typed_c...')
I updated the schema + implemented hook_update_N
- ππΊHungary balagan
Confirming that patch in #5 solves that problem, but probably that should be a separate issue.
- Status changed to Needs review
4 months ago 4:08pm 10 July 2024 - πΊπΈUnited States pianomansam
Patch in #5 fixes this issue for me as well.
-
mandclu β
committed f9ae34bb on 8.x-2.x
Issue #3431354 by marthinal: Config schema is incorrect
-
mandclu β
committed f9ae34bb on 8.x-2.x
- Status changed to Fixed
4 months ago 11:43am 27 July 2024 - Status changed to Needs work
4 months ago 3:28pm 30 July 2024 - π§πͺBelgium dieterholvoet Brussels
The update hook in #5 does not work at all, there was no
sequence
key in the previous config schema. I'll update the patch, hopefully this hasn't been released yet. - π§πͺBelgium dieterholvoet Brussels
Looks like it has been released. I'll add a new update hook instead of fixing the existing one.
- π§πͺBelgium dieterholvoet Brussels
The configuration form also hasn't been updated to work with the new config format. Kind of a shame that this has been released without proper testing.
- Status changed to Needs review
4 months ago 4:00pm 30 July 2024 - Status changed to Fixed
3 months ago 9:17am 21 August 2024 - Status changed to Needs review
3 months ago 9:30am 21 August 2024 - π§πͺBelgium dieterholvoet Brussels
@balaganb you didn't read my comment in #10, this issue is not actually fixed.