svn commit: r1662362 - in /ofbiz/branches/release14.12: ./ specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1662362 - in /ofbiz/branches/release14.12: ./ specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml

jleroux@apache.org
Author: jleroux
Date: Thu Feb 26 06:31:44 2015
New Revision: 1662362

URL: http://svn.apache.org/r1662362
Log:
"Applied fix from trunk for revision: 1662361"
------------------------------------------------------------------------
r1662361 | jleroux | 2015-02-26 07:30:57 +0100 (jeu., 26 févr. 2015) | 10 lines

Fixes "Incorrect Error Displayed when "Expiring" a Contact Mechanism" reported by Forrest Rae at https://issues.apache.org/jira/browse/OFBIZ-6112

When expiring a contact mechanism, an incorrect error is displayed.  This is mostly an error due to code reuse.  There is no reason to redirect back to editcontactmech, instead just redirect to viewprofile.

"The contact information specified does not belong to you, you may not view or edit it."

Repro:
1) Login to http://demo-stable-ofbiz.apache.org/ecommerce/control/main as DemoCustomer.
2) Navigate to http://demo-stable-ofbiz.apache.org/ecommerce/control/viewprofile
3) Click Expire next to one of the Postal Addresses.
------------------------------------------------------------------------


Modified:
    ofbiz/branches/release14.12/   (props changed)
    ofbiz/branches/release14.12/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml

Propchange: ofbiz/branches/release14.12/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Feb 26 06:31:44 2015
@@ -8,4 +8,4 @@
 /ofbiz/branches/json-integration-refactoring:1634077-1635900
 /ofbiz/branches/multitenant20100310:921280-927264
 /ofbiz/branches/release13.07:1547657
-/ofbiz/trunk:1649393,1649742,1650240,1650583,1650642,1650678,1650882,1650887,1650938,1651593,1652361,1652706,1652725,1652731,1652739,1653248,1653456,1654175,1654273,1654509,1655046,1655668,1655979,1656185,1656198,1656445,1656983,1657323,1657506-1657507,1657514,1657714,1657790,1657848,1658364,1658662,1658882,1659224,1660031,1660053,1660389,1660444,1660579,1661303,1661328,1661778,1661853,1661862,1661873,1661940,1661951,1661977
+/ofbiz/trunk:1649393,1649742,1650240,1650583,1650642,1650678,1650882,1650887,1650938,1651593,1652361,1652706,1652725,1652731,1652739,1653248,1653456,1654175,1654273,1654509,1655046,1655668,1655979,1656185,1656198,1656445,1656983,1657323,1657506-1657507,1657514,1657714,1657790,1657848,1658364,1658662,1658882,1659224,1660031,1660053,1660389,1660444,1660579,1661303,1661328,1661778,1661853,1661862,1661873,1661940,1661951,1661977,1662361

Modified: ofbiz/branches/release14.12/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml?rev=1662362&r1=1662361&r2=1662362&view=diff
==============================================================================
--- ofbiz/branches/release14.12/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml (original)
+++ ofbiz/branches/release14.12/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml Thu Feb 26 06:31:44 2015
@@ -1033,7 +1033,7 @@ under the License.
     <request-map uri="deleteContactMech">
         <security https="true" auth="true"/>
         <event type="service" invoke="deletePartyContactMech"/>
-        <response name="success" type="view" value="editcontactmech"/>
+        <response name="success" type="view" value="viewprofile"/>
         <response name="error" type="view" value="editcontactmech"/>
     </request-map>