You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@roller.apache.org by Joe Lam <jo...@moni-media.net> on 2006/11/06 04:01:25 UTC
Re: 3.0 RC1 (+trunk): can't disable a user from roller admin UI
any solution for this?
just found that I got the same problem.
roller version is v2.3
Jeffrey Blattman wrote:
>
> 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()?
>
>
>
--
View this message in context: http://www.nabble.com/3.0-RC1-%28%2Btrunk%29%3A-can%27t-disable-a-user-from-roller-admin-UI-tf2396854s12275.html#a7192597
Sent from the Roller - Dev mailing list archive at Nabble.com.