Skip to content

Conversation

@AndyButland
Copy link
Contributor

This includes the minimum necessary to allow Deploy to prepare support for member type containers, expected in 17.1.

The intention is that it will work at a service level, but not be supported yet via the management API or the backoffice.

See #20706 for more details.

Copilot AI review requested due to automatic review settings November 3, 2025 11:40
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

This PR enables container (folder) support for Member Types in Umbraco CMS. Previously, the MemberTypeContainerRepository was a no-op implementation that returned empty results, preventing the organization of member types into folders. This change replaces it with a full implementation that inherits from EntityContainerRepository, bringing member types in line with content types, media types, and data types.

  • Replaced no-op MemberTypeContainerRepository with functional implementation extending EntityContainerRepository
  • Added MemberTypeContainer to allowed container types in EntityContainerRepository
  • Registered MemberType to MemberTypeContainer mapping in EntityContainer model

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/Umbraco.Infrastructure/Persistence/Repositories/Implement/MemberTypeContainerRepository.cs Replaced no-op implementation with functional repository extending EntityContainerRepository
src/Umbraco.Infrastructure/Persistence/Repositories/Implement/EntityContainerRepository.cs Added MemberTypeContainer to the list of allowed container types
src/Umbraco.Core/Models/EntityContainer.cs Added MemberType to MemberTypeContainer mapping in ObjectTypeMap dictionary

@Zeegaan Zeegaan self-requested a review November 11, 2025 08:17
Copy link
Member

@Zeegaan Zeegaan left a comment

Choose a reason for hiding this comment

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

Looks good to me 👍

@Zeegaan Zeegaan merged commit d687c43 into release/17.0 Nov 11, 2025
21 of 22 checks passed
@Zeegaan Zeegaan deleted the v17/hotfix/prepare-member-type-containers branch November 11, 2025 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants