Problem/Motivation
There could plenty of cases/scenarios for deployments where we need the possibility for importing configs without UUIDs set.
Like
- Default content deployment
- Other Development deployments
But, When importing a config where system.site
UUID is empty, the following error is thrown:
Site UUID in source storage does not match the target storage.
Steps to reproduce
Try to import system.site
without UUID
Proposed resolution
If the system.site UUID is deliberately empty in the imported config, the config importer should not fail. It should only fail if the system.sit UUID is set and is different from the current system.site UUID.
Update StorageComparer
who's responsible for checking the system.site
- validateSiteUuid(please )
method
Remaining tasks
None
User interface changes
None
API changes
None
Data model changes
None
Release notes snippet
None
Original summary
When importing a config where system.site UUID is empty, the following error is thrown:
Site UUID in source storage does not match the target storage.
If the system.site UUID is deliberately empty in the imported config, the config importer should not fail. It should only fail if the system.sit UUID is set and is different from the current system.site UUID.