[Helma-user] app.registerUser() - Column 'USER_EMAIL' cannot be null
Hannes Wallnoefer
hannesw at gmail.com
Thu Nov 30 11:59:47 CET 2006
2006/11/30, Andreas Schuh <andreas.schuh at itac.at>:
>
> app.registerUser(String user, String pass)
>
> creates this error
>
> Error in application helmaapp
> Column 'USER_ANYNOTNULLPROPERTY' cannot be null
>
> are "not null" columns not longer supported by app.registerUser() ?
>
app.registerUser() returns a user object (or null). If a property in
the user prototype is mapped to a "not null" column in the db, and you
didn't assign it a value before the data is committed, that Helma is
correct and the problem is in your application. If you did assign a
value to the property in question than this is a Helma bug.
Hannes
More information about the Helma-user
mailing list