#56498TCA setting for input field allows one character too much.
Description
If you use input (text) fields for plugins with db fields tinytext or varchar it is possible to insert 256 characters but both kind of db fields have only 255 characters and this will cause the error “102: These fields are not properly updated in database: (title) Probably value mismatch with fieldtype.”.
So if you insert very long text to the input field it will be cut by the field setting (maxlength=“256”) and if you remove on char now (256 – 1 = 255) every thing works fine without error.
You can reproduce this error e.g. in EXT News title field or in normal cType header.
Tested versions 6.0.7 and 6.2-dev.
As a note: The title field of pages is correctly set to maxlength=“255”.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.