Skip to content

Conversation

@AndyButland
Copy link

Here I've changed the default maxChars value from 0 to 50 in the createTextstringDataType method. With umbraco/Umbraco-CMS#20843 the value of zero will be considered invalid, and so this causes failing tests.

It has previously been considered to have the meaning of being "unlimited", but for a text string that is limited by the size of the database field used for storing it, a value of unlimited doesn't make sense.

Change default maxChars value from 0 to 50 in  createTextstringDataType method.
Copy link

@nhudinh0309 nhudinh0309 left a comment

Choose a reason for hiding this comment

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

LGTM

@nhudinh0309 nhudinh0309 merged commit b478429 into v17/dev Nov 18, 2025
@andr317c andr317c deleted the v17/qa/set-valid-default-for-text-string-data-type-max-chars branch November 19, 2025 09:06
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