- π³π±Netherlands johnv
I see, working on this.
To import manually:
- Navigate to the destination site in your browser at admin/config/development/configuration/full/import
- Select the configuration archive and select upload
- You will see a list of all the configuration items
- Scroll down to the bottom and click the import all button - π³π±Netherlands johnv
The history view gives error "Route "entity.workflow_state.canonical" does not exist." when testing views.view.workflow_entity_history .
The link to the from and to states must be removed. - π³π±Netherlands johnv
All 3 files have problems, because they were not updated to the newest standards:
- dependency on Drupal version
- dependency on other module, themeIf needed, the config can be deleted.
- the history view can be deleted anyway
- block can be deleted as such:\Drupal::configFactory ()->getEditable ( 'block.block.workflowtransitionform' )->delete ();
Then, they can be re-imported calling
\Drupal::service('config.installer')->installOptionalConfig();
The patch will update all 3 configuration files.
running update.php will install the files, as they should have. - Status changed to Fixed
about 1 year ago 2:38pm 21 February 2024 - π³π±Netherlands johnv
It was needed to fix π Route "entity.workflow_state.canonical" does not exist." on views.view.workflow_entity_history Fixed first.
Automatically closed - issue fixed for 2 weeks with no activity.
- πΊπΈUnited States nmangold United States
I do not think this was fixed correctly. I am updating from 1.7 to 1.8 using D10.1. The optional configurations are enabled during database updates (which seems like those are not optional now). When the configurations are exported, the block.block.workflowtransitionform.yml has NULL for the theme. Then, configuration import fails with the following error messages.
[error] Drupal\Core\Config\ConfigImporterException: There were errors validating the config synchronization. Configuration <em class="placeholder">block.block.workflowtransitionform</em> depends on the <em class="placeholder"></em> theme that will not be installed after import. in Drupal\Core\Config\ConfigImporter->validate() (line 814 of /var/www/html/docroot/core/lib/Drupal/Core/Config/ConfigImporter.php). In ConfigImportCommands.php line 290: The import failed due to the following reasons: Configuration <em class="placeholder">block.block.workflowtransitionform</em> depends on the <em class="placeholder"></em> theme that will not be installed after import. In ConfigImporter.php line 814: There were errors validating the config synchronization. Configuration <em class="placeholder">block.block.workflowtransitionform</em> depends on the <em class="placeholder"></em> theme that will not be installed after import.