Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page Property "id" Overrides in Live Copy overwritten on Rollout #2868

Open
HitmanInWis opened this issue Sep 24, 2024 · 0 comments
Open

Page Property "id" Overrides in Live Copy overwritten on Rollout #2868

HitmanInWis opened this issue Sep 24, 2024 · 0 comments

Comments

@HitmanInWis
Copy link

The "id" page property is overwritten when the blueprint site executes a new rollout.

Scenario:

  • Blueprint site Page property id = somevalue
  • Blueprint rollout pushes id = somevalue to Live Copy site Page
  • Author updates Live Copy site Page property id = othervalue
  • Future Blueprint rollout pushes id = somevalue to Live Copy site Page, overwriting othervalue

The solution is that the id field should be configured in the Page dialog with the cq-msm-lockable attribute.

<id
    cq:showOnCreate="true"
    jcr:primaryType="nt:unstructured"
    sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
    fieldDescription="HTML ID attribute to apply to the component."
    fieldLabel="ID"
    name="./id"
    validation="html-unique-id-validator">
    /* ADD THIS */
    <granite:data
        jcr:primaryType="nt:unstructured"
        cq-msm-lockable="id"/>
</id>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant