Skip to content

fix: Collection validation in scheme [DHIS2-22026] - #25018

Merged
maikelarabori merged 7 commits into
masterfrom
DHIS2-22026_2.44
Sep 3, 2026
Merged

fix: Collection validation in scheme [DHIS2-22026]#25018
maikelarabori merged 7 commits into
masterfrom
DHIS2-22026_2.44

Conversation

@maikelarabori

@maikelarabori maikelarabori commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

There is a validation that triggers for Collection types, enforcing the max size of 255 elements.
This limitation is a mistake and shouldn't be there unless a max/min size is defined programmatically at the entity level.

The PR removes this enforcement for Collection types. For types where a default max size still needs some enforcement (by default), the flow still applies it as expected, so no breaking changes in this sense.

Also, with this change, the max limit on Periods is no longer required. Hence, they were removed.

@sonarqubecloud

sonarqubecloud Bot commented Sep 3, 2026

Copy link
Copy Markdown

@maikelarabori
maikelarabori enabled auto-merge (squash) September 3, 2026 11:24
@maikelarabori
maikelarabori merged commit 6645798 into master Sep 3, 2026
25 checks passed
@maikelarabori
maikelarabori deleted the DHIS2-22026_2.44 branch September 3, 2026 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants