Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-7021

Workspace live : different behaviour between content validation and live rebuild

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 4.2.0
    • 3.8
    • None
    • None

      The head content in the workspace live is not always the same :

      1. On content validation (if the content is not already published)
      2. On content validation (if the content is already published)
      3. On live rebuild

      On first case and last case, we get the last validated content into the version history and treat some metadatas manually (SynchronizeContentValidationObserver catch treatment and SitePopulator).

      It's a different behaviour for the second case because it takes the head version in the default workspace to get metadatas (SynchronizeContentValidationObserver try treatment).
      Because of this, we sometimes copy metadata which are not set by case 1 and 3, like ametys-internal:consistency node.

      We should factorize the SynchronizeContentValidationObserver code and add an helper to avoid code duplication.

            Unassigned Unassigned
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: