- 🇳🇿New Zealand jlscott
@bachbach: I am unable to replicate the error you report. Can you please advise what version of Drupal, PHP, etc you are using?
- 🇧🇪Belgium davidiio
Hello,
We had the same probleme here on drupal 10.3.6, user_history 1.1.0
When clicking "initialize" batch process won't start because a type is missing somewhere on field storage config creation.
Applying patch from first post does make it work.Error:
Drupal\Core\Field\FieldException : Attempt to create a field storage changed with no type. dans Drupal\field\Entity\FieldStorageConfig->__construct() (ligne 271 de /web/core/modules/field/src/Entity/FieldStorageConfig.php).
Trace:
#0 /web/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php(222): Drupal\field\Entity\FieldStorageConfig->__construct() #1 /web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(232): Drupal\Core\Config\Entity\ConfigEntityStorage->doCreate() #2 /web/core/lib/Drupal/Core/Entity/EntityBase.php(523): Drupal\Core\Entity\EntityStorageBase->create() #3 /web/modules/contrib/user_history/user_history.batch.inc(54): Drupal\Core\Entity\EntityBase::create() #4 /web/core/includes/batch.inc(296): user_history_add_tracked_fields()
- Status changed to Fixed
2 months ago 3:15am 13 July 2025 - 🇳🇿New Zealand jlscott
Committed to branch 8.x-1.x.
Thanks for the solution to this issue.
- fdfb674f committed on 8.x-1.x
Issue #3311360 by bachbach, davidiio: init batch : field_storage_values...
- fdfb674f committed on 8.x-1.x
Automatically closed - issue fixed for 2 weeks with no activity.