Allow config import with empty system.site UUID

Created on 11 April 2019, about 5 years ago
Updated 4 January 2024, 6 months ago

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.

📌 Task
Status

Postponed: needs info

Version

11.0 🔥

Component
Configuration 

Last updated less than a minute ago

Created by

🇫🇷France Eric MORAND

Live updates comments and jobs are added and updated live.

Missing content requested by

🇦🇺Australia dpi
7 months ago
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024