Skip to content

Restrict title to 1024 when setting it based on a filename. [4.x]#748

Merged
mauritsvanrees merged 1 commit into
4.xfrom
title_max_length-4x
Jun 17, 2026
Merged

Restrict title to 1024 when setting it based on a filename. [4.x]#748
mauritsvanrees merged 1 commit into
4.xfrom
title_max_length-4x

Conversation

@mauritsvanrees

Copy link
Copy Markdown
Member

Set max_length in image and file content types.
Max 1024 for title, max 10000 for description.

For the other types (using IBasic), this is being changed in plone.app.dexterity.

Backport of #744 for Plone 6.1.

Set `max_length` in image and file content types.
Max 1024 for title, max 10000 for description.

For the other types (using `IBasic`), this is being changed in `plone.app.dexterity`.

Backport of #744 for Plone 6.1.
@mauritsvanrees mauritsvanrees requested a review from mamico June 15, 2026 19:41
@mister-roboto

Copy link
Copy Markdown

@mauritsvanrees thanks for creating this Pull Request and helping to improve Plone!

TL;DR: Finish pushing changes, pass all other checks, then paste a comment:

@jenkins-plone-org please run jobs

To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically.

Happy hacking!

@mauritsvanrees mauritsvanrees merged commit 665a482 into 4.x Jun 17, 2026
12 checks passed
@mauritsvanrees mauritsvanrees deleted the title_max_length-4x branch June 17, 2026 21:15
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.

2 participants