Vanilla open source was terminated 1 January 2025 by Higher Logic. See this announcement for more information.
No Validation of required Values with MySQL Version < 5.0.3
I just testing my the Vanilla Form with my own Application on a older Server and the Vallidation is not working. So i debug the code and find the bug!
The Null field contains YES if NULL values can be stored in the column. If not, the column contains NO as of MySQL 5.0.3, and '' before that. ( http://dev.mysql.com/doc/refman/5.0/en/show-columns.html )
hier is the FIX: http://github.com/renepenner/Garden/commit/d0a523f4442de9823771c227e9b04bc4abd4b0b6
PS:
$Field->Key == 'PRI' ? TRUE : FALSE
is the same as this:
$Field->Key == 'PRI'
LG
René
The Null field contains YES if NULL values can be stored in the column. If not, the column contains NO as of MySQL 5.0.3, and '' before that. ( http://dev.mysql.com/doc/refman/5.0/en/show-columns.html )
hier is the FIX: http://github.com/renepenner/Garden/commit/d0a523f4442de9823771c227e9b04bc4abd4b0b6
PS:
$Field->Key == 'PRI' ? TRUE : FALSE
is the same as this:
$Field->Key == 'PRI'
LG
René
0
Comments