Add the HTML maxlength attribute so the user isn't able to enter more than 255 characters into the version note field
Testing
Add a long string (more than 255 characters) into the version note field in any of the forms supporting it. Eg article, banner, contact. Check after saving and see that the string was truncated.
You can use this string:
True. I was just looking for the version_note ones. But those have the same limit in the database, so adding it there would make sense.
Same also for categories and tags.
For the module it was currently already limited to 100 characters. I tracked it back to 2010 when the note was added. No clue why it was set to 100 when the database allows for 255. I changed it to 255 now.
I guess the same should be applied to the Note field in Menus and Modules?
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7541.