logo       

Re: app.registerUser() - Column 'USER_EMAIL' cannot be null: msg#00021

java.helma.general

Subject: Re: app.registerUser() - Column 'USER_EMAIL' cannot be null

2006/11/30, Andreas Schuh <andreas.schuh@xxxxxxx>:
>
> 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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise