Skip to content

Conversation

@rjvelazco
Copy link
Contributor

@rjvelazco rjvelazco commented Feb 2, 2026

This PR fixes: #34300

Video

video.mov

@rjvelazco rjvelazco changed the title fix(UVE): copyContent modal Error fix(UVE): copy content modal Error Feb 2, 2026
@rjvelazco rjvelazco changed the title fix(UVE): copy content modal Error fix(UVE): copy content modal error Feb 2, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes an error in the UVE “copy content” modal by avoiding sending an empty-string variantId and aligning model typings to allow variantId to be omitted.

Changes:

  • Update the UVE store page context $variantId computed to return undefined instead of '' when missing.
  • Make DotTreeNode.variantId optional to support omitting it from requests when not applicable.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
core-web/libs/portlets/edit-ema/portlet/src/lib/store/features/withPageContext.ts Changes $variantId typing and default behavior to avoid empty-string values that can trigger API errors.
core-web/libs/dotcms-models/src/lib/dot-tree-node.model.ts Makes variantId optional on DotTreeNode so callers can omit it when not applicable.

@rjvelazco rjvelazco enabled auto-merge February 2, 2026 15:03
@rjvelazco rjvelazco added this pull request to the merge queue Feb 2, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 2, 2026
@nollymar nollymar added this pull request to the merge queue Feb 2, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 2, 2026
…-parentpermissionable-for-container-variantid-bug
@rjvelazco rjvelazco enabled auto-merge February 2, 2026 18:37
…-parentpermissionable-for-container-variantid-bug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

[SPIKE] SDK: Re-visit Dependency on parentPermissionable for Container variantId

7 participants