Stefano Bianchi wrote:
Dear Sven,
I don't know if it is similar, but we experience a problem with J1.5
CreateNewAccount functionality.
We had to modify the relative class since it did not write correctly the
Creation Date in the DB (always '0000-00-00').
The user was created, but could not be retrieved immediately afterwards.
Sorry if this does not apply to your case...
Cheers
Stefano
I added a patch yesterday to 1.6 to fix this problem with the creation
date and password changed during creation of a new user.
Tested on Hypersonic and MySQL only.
+ if (user.isNew())
+ {
+ Date created = user.getCreateDate();
+ if (created == null)
+ {
+ created = new Date();
+ }
+ criteria.add( "TURBINE_USER.CREATED", created);
+ criteria.add( "TURBINE_USER.PASSWORD_CHANGED", created);
+ }
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]