You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2012/03/25 15:14:12 UTC

svn commit: r1305025 - /ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml

Author: jleroux
Date: Sun Mar 25 13:14:12 2012
New Revision: 1305025

URL: http://svn.apache.org/viewvc?rev=1305025&view=rev
Log:
A patch from Atul Vani "When changing picklists status to something invalid, user friendly error message should be displayed." https://issues.apache.org/jira/browse/OFBIZ-4579

Modified:
    ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml?rev=1305025&r1=1305024&r2=1305025&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml Sun Mar 25 13:14:12 2012
@@ -804,6 +804,7 @@ under the License.
                 <if-empty field="checkStatusValidChange">
                     <set value="ERROR: Changing the status from ${lookedUpValue.statusId} to ${parameters.statusId} is not allowed." field="error_list[]"/>
                 </if-empty>
+                <check-errors/>
 
                 <make-value entity-name="PicklistStatusHistory" value-field="newStatusValue"/>
                 <set from-field="parameters.picklistId" field="newStatusValue.picklistId"/>