openedx / openedx/openedx-platform
MAX_BLOCKS_PER_CONTENT_LIBRARY limit is not used when creating containers
Open
@ChrisChV is already working on this.
Since Nov 26, 2025.
- Dominant language
- Python
- Stars
- 8.2k
- Forks
- 4.4k
- Avg merge
- 6d 18h
- Merged PRs (30d)
- 42
Description
Steps to reproduce
- Update
MAX_BLOCKS_PER_CONTENT_LIBRARYto a lower value, like 5 - Create components until reaching the limit
- Verify that you can't create more components.
- Create any container
- Bug: The container is created.
- Expected: Show an error after creating a container when the limit is reached.
- Note: While creating a component, the containers are counted to verify the
MAX_BLOCKS_PER_CONTENT_LIBRARY
Also, it is needed to rename these settings to MAX_ITEMS_PER_CONTENT_LIBRARY
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.