[GeoNetwork-devel] Error and fix for service user.pwupdate

Hi:

I have find an error in service user.pwupdate. The service always fails with a
UserNotFound exception, I have checked the code and the first line
on exec method in PwUpdate.java:

String password = Util.scramble(Util.getParam(params, Params.PASSWORD));

Util.scramble method change the password param and it is not found in database;

to fixit it is neccesary to change the above line to:

String password = Util.getParam(params, Params.PASSWORD);

Regards

Godofredo Contreras


Get the power of Windows + Web with the new Windows Live. Get it now!