[Helma-user] app.registerUser() - Column 'USER_EMAIL' cannot be null

Michael Platzer michael.platzer at knallgrau.at
Thu Nov 30 12:05:45 CET 2006


app.registerUser() basically does the following:

  var usr = new User();
  usr.name = name;
  usr.password = password;
  root.users.add(usr);

i can't really answer your question, since i haven't used regiserUser() 
in the last few years. but I would suggest that you replace 
app.registerUser with those few lines anyways.

greets,
  michi




Andreas Schuh schrieb:
>
> Hi all,
>
>  
>
> we use in our helma apps the registerUser method from the app object.
>
> since we've upgraded the servers from helma 1.4.3 to 1.5.3
>
> the line
>
>  
>
>    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() ?
>
>  
>
> greetings
>
> andi
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Helma-user mailing list
> Helma-user at helma.org
> http://helma.org/mailman/listinfo/helma-user
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://helma.org/pipermail/helma-user/attachments/20061130/1231f4dd/attachment.html 


More information about the Helma-user mailing list