Skip to content

Bug Report: Sync does not preserve visibleOnMenu/visibleOnSitemap flags on dynamic pages #206

Description

@sfituch-igt

Summary

When syncing pages between Agility instances via @agility/cli, the dynamic.visibleOnMenu and dynamic.visibleOnSitemap flags on dynamic pages are not preserved from the source instance - both are always written as true on the target instance, regardless of the source value. Non-dynamic (folder/static) pages sync these flags correctly.

Steps to Reproduce

  1. On a source instance, configure a dynamic page with visibleOnMenu: false (and optionally visibleOnSitemap: false).
  2. Run the CLI sync to a target instance.
  3. Inspect the resulting page definition on the target instance.

Expected Behavior

The target page's dynamic.visibleOnMenu and dynamic.visibleOnSitemap values should match the source instance exactly.

Actual Behavior

Both flags come out as true on the target instance. This was confirmed across multiple dynamic pages and different page templates.

Non-dynamic (folder/static) pages, including one with a mixed menu: false / sitemap: true combination, synced correctly.

Environment

  • @agility/cli version 1.0.0-beta.13.28

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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