Author: diveshdutta
Date: Sat Jun 4 14:17:59 2016
New Revision: 1746832
URL: http://svn.apache.org/viewvc?rev=1746832&view=rev
Log:
[OFBIZ-6952] Fixed bug where back end user was not able to update password from
Party manager application. Actually updatePassword service was used to update
the password, but updatePassword service does not sets new userLogin object in
session. So this was causing the issue. updatePassword event is used now which
updates user's password and also sets new userLogin object in session. Thanks
Mohammad Kathawala for the patch and Rohit Kaushal for discussion. Thanks
Supachai Chaima-ngua (Tor)
Modified:
ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml
Modified: ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml?rev=1746832&r1=1746831&r2=1746832&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml
(original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml Sat
Jun 4 14:17:59 2016
@@ -1227,7 +1227,7 @@ under the License.
</request-map>
<request-map uri="ProfileUpdatePassword">
<security https="true" auth="true"/>
- <event type="service" path="" invoke="updatePassword"/>
+ <event type="simple"
path="component://securityext/script/org/ofbiz/securityext/login/LoginSimpleEvents.xml"
invoke="updatePassword"/>
<response name="success" type="view" value="ProfileEditUserLogin"/>
<response name="error" type="view" value="ProfileEditUserLogin"/>
</request-map>