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

Andreas Schuh andreas.schuh at itac.at
Thu Nov 30 12:29:27 CET 2006


thank you, i will try this.

 

andi

  _____  

Von: helma-user-bounces at helma.org [mailto:helma-user-bounces at helma.org] Im
Auftrag von Michael Platzer
Gesendet: Donnerstag, 30. November 2006 12:06
An: Helma User Mailing List
Betreff: Re: [Helma-user] app.registerUser() - Column 'USER_EMAIL' cannot be
null

 

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/8924366a/attachment.html 


More information about the Helma-user mailing list