[BE] Added dotStyleProperties to dotContentMap VTL object#34828
Merged
KevinDavilaDotCMS merged 12 commits intomainfrom Mar 6, 2026
Merged
[BE] Added dotStyleProperties to dotContentMap VTL object#34828KevinDavilaDotCMS merged 12 commits intomainfrom
KevinDavilaDotCMS merged 12 commits intomainfrom
Conversation
dario-daza
reviewed
Mar 3, 2026
dotCMS/src/main/java/com/dotcms/rendering/velocity/viewtools/content/ContentTool.java
Outdated
Show resolved
Hide resolved
dario-daza
reviewed
Mar 3, 2026
dotCMS/src/main/java/com/dotcms/rendering/velocity/viewtools/content/ContentTool.java
Outdated
Show resolved
Hide resolved
dario-daza
approved these changes
Mar 3, 2026
nollymar
reviewed
Mar 3, 2026
dotCMS/src/main/java/com/dotcms/rendering/velocity/viewtools/content/ContentTool.java
Outdated
Show resolved
Hide resolved
nollymar
reviewed
Mar 3, 2026
dotCMS/src/main/java/com/dotcms/rendering/velocity/viewtools/content/ContentTool.java
Outdated
Show resolved
Hide resolved
nollymar
reviewed
Mar 3, 2026
dotCMS/src/main/java/com/dotcms/rendering/velocity/viewtools/content/ContentTool.java
Outdated
Show resolved
Hide resolved
- Use FeatureFlagName.FEATURE_FLAG_UVE_STYLE_EDITOR constant instead of string literal - Simplify ArrayList initialization by passing collection directly to constructor - Use mt.getContentlet() instead of mt.getChild() for clarity Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Extracts the UUID normalization, dual-query fallback, and contentlet matching logic out of ContentTool (VTL layer) and into a new MultiTreeAPI.getStylePropertiesForContentlet() method where it belongs. ContentTool now only handles the VTL context reads, feature flag check, and writing the result into the contentlet map. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ihoffmann-dot
approved these changes
Mar 5, 2026
nollymar
approved these changes
Mar 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
2026-03-02.13-15-07.mov
This PR fixes: #34709
This PR fixes: #34709