Skip to content

Unable to sync spaces when new root is created #122

@nkooman-bzs

Description

@nkooman-bzs

Brief bug description

When syncing a space that links a new web spotlight root, the operation fails since there is no matching item in the target environment.

Repro steps

  1. Create a new space that links a new root.
  2. Sync spaces
  3. See an error like the following "The referenced root item '{codename: root}' was not found. Provide a reference to an existing root item."

Expected behavior

Preferably I'd like to see the root item synced. However, I understand that this may not be in line with the expectations of the sync command.

Test environment

Additional context

If we were to create an item if there's a new root, it would need to happen after content type updates, but before spaces. This is an issue since these operations are in the opposite order in the current implementation.

Screenshots

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions