- Status changed to Fixed
3 months ago 1:18am 11 April 2025
When trying to update a filestorage that already exists, it shows an error and the new changes are not updated.
Use the DevUtils configuration to update a filestorage:
function dp_update_xxxx(&$sandbox) {
$configs = [
'my_module_field_storage' => [
'field.storage.my_config',
],
Drupal::service('devutils.update_config')->modules($configs);
}
When the update is executed, the following error is displayed:
[warning] Undefined variable $my_config UpdateConfigs.php:215
[warning] The field storage already exists.
Active
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.