Skip to content

[DEFECT] Container limit is not being respected by containers #33831

@DeanGonzalez

Description

@DeanGonzalez

Problem Statement

Limit of 1 is not respected by file based containers or UI based containers

Steps to Reproduce

2025-11-14_12-10-06.mp4

See the screencapture video attached. Create a file based container with a limit of 1 in the container.vtl and create a UI based container with a limit of 1 contentlet allowed. Add both containers to a page using a custom layout and test adding up to three of the same content type configured to those containers.

Both types of containers allow and show 2 contentlets and a third contentlet replaces the first contentlet added.

Acceptance Criteria

For both UI based containers and file based containers the system should deny adding a contentlet above the max number of contentlets allowed in the container

dotCMS Version

PLATFORM EDITION: 25.11.12-1 - November 12, 2025 5:54 PM tested on demo.dotcms.com

Severity

Medium - Some functionality impacted

Metadata

Metadata

Assignees

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions