from server admin -> user admin, if i uncheck enabled and click save, then return to edit the same user again, enabled is still checked. there is an error in the logs ...

/WARN 2006-10-06 09:33:27,652 JDBCExceptionReporter:logExceptions - SQL Error: 0, SQLState: 01004 ERROR 2006-10-06 09:33:27,656 JDBCExceptionReporter:logExceptions - Data truncation: Column set to default value; NULL supplied to NOT NULL column 'isenabled' at row 1/

i think this is because if the checkbox is not set, the form comes back with a value of null. this results in a UserData.setEnabled(null), which causes the above exception.

i wasn't quite sure where to add the fix. set if null set to false in UserData.setEnabled()?

Reply via email to