Author: jleroux
Date: Wed Mar 26 18:38:25 2014
New Revision: 1581997

URL: http://svn.apache.org/r1581997
Log:
A patch from Rong Nguyen amended by Nicolas Malin for "Approvals function 
doesn't work for first time" https://issues.apache.org/jira/browse/OFBIZ-5555

Scenario:
1. Go to content webapp
2. Go to CompDoc
3. Find all record
4. Edit any record
5. Click Approvals tab

Modified:
    ofbiz/trunk/applications/content/widget/compdoc/CompDocScreens.xml

Modified: ofbiz/trunk/applications/content/widget/compdoc/CompDocScreens.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/compdoc/CompDocScreens.xml?rev=1581997&r1=1581996&r2=1581997&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/widget/compdoc/CompDocScreens.xml 
(original)
+++ ofbiz/trunk/applications/content/widget/compdoc/CompDocScreens.xml Wed Mar 
26 18:38:25 2014
@@ -425,7 +425,7 @@ under the License.
                     </condition>
                     <actions>
                         <set field="title" 
value="${uiLabelMap.PageTitleEditCompDocTemplate} ${rootContentId}"/>
-                        <set from-field="parameters.contentRevisionSeqId" 
default-value="${parameters.rootContentRevisionSeqId}" 
field="rootContentRevisionSeqId"/>
+                        <set from-field="parameters.contentRevisionSeqId" 
default-value="${contentRevisions[0].contentRevisionSeqId}" 
field="rootContentRevisionSeqId"/>
                     </actions>
                     <widgets>
                         <decorator-screen name="commonCompDocDecorator" 
location="component://content/widget/CommonScreens.xml">


Reply via email to