core
core copied to clipboard
SDK: `VariantName` is missing on GQL Base Page Query
[!WARNING] Blocked by: https://github.com/dotCMS/core/issues/32173 https://github.com/dotCMS/core/issues/32384
Task
We need to add the VariantName to the Base Page Query in order to make use of experiments, inside and outside of UVE
Steps to Reproduce
- Create an Experiment for your page
- Try to access it when using one of the new Examples
- See how it fails
Acceptance Criteria
We should be able to fetch for Variants
dotCMS Version
trunk_latest
Proposed Objective
User Experience
Proposed Priority
Priority 2 - Important
PRs:
- https://github.com/dotCMS/core/pull/32425
Note to QA
This ticket can trigger this issue: https://github.com/dotCMS/core/issues/32384 So for the test, you can:
- Enable Analytics
- Create a new Variants from a page
- When add contentlets to this variants, only use contentlets that already exists (The issue is only with contentlets that only exists in variants)
- Check the pageAsset response
You ca check this PR where i show both scenearios
Passed QA
- SDK version: 0.0.1-beta.42 under the
@nexttag
Video
https://github.com/user-attachments/assets/b8c17d22-329f-48b0-8007-78b47f45479a