logo       

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

java.helma.general

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

thank you, i will try this…

 

andi


Von: helma-user-bounces@xxxxxxxxx [mailto:helma-user-bounces@xxxxxxxxx] 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@xxxxxxxxx
http://helma.org/mailman/listinfo/helma-user
  

 

_______________________________________________
Helma-user mailing list
Helma-user@xxxxxxxxx
http://helma.org/mailman/listinfo/helma-user
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise