Flatten SiteContentType and bump EPiServer.CMS to 13.0.2 - #67
Merged
Conversation
Removes the SiteContentType attribute wrapper from the Alloy.Mvc template and updates all page and block model classes to use [ContentType(...)] directly, matching how StartPage already declares its content type. For the models that previously relied on the wrapper's default GroupName the value is now set explicitly so behavior is preserved. Fixes: CMS-52433
bjuris
marked this pull request as ready for review
May 19, 2026 09:59
ihor-biletskyi
approved these changes
May 19, 2026
JohanPetersson
approved these changes
May 19, 2026
JohanPetersson
left a comment
Contributor
There was a problem hiding this comment.
Note that this/these templates are not shipped. The templates we ship are located in
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.
Flattens the
SiteContentTypeattribute wrapper in the Alloy.Mvc template and updates all page and block model classes to use[ContentType(...)]directly, matching howStartPagealready declares its content type. For the models that previously relied on the wrapper's defaultGroupName, the value is now set explicitly so behavior is preserved.Also bumps
EPiServer.CMSandEPiServer.Cms.UI.AspNetIdentityfrom 13.0.0 to 13.0.2 inAlloy.Mvc,Cms.Empty, andCms.Itemto pick up patched transitive dependencies that resolve NU1902/NU1903 audit failures forMailKit4.15.1 andSystem.Security.Cryptography.Xml10.0.2.Fixes: CMS-52433