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 2014/03/26 19:39:17 UTC

svn commit: r1581998 - in /ofbiz/branches/release13.07: ./ applications/content/widget/compdoc/CompDocScreens.xml

Author: jleroux
Date: Wed Mar 26 18:39:16 2014
New Revision: 1581998

URL: http://svn.apache.org/r1581998
Log:
"Applied fix from trunk for revision: 1581997  " 
------------------------------------------------------------------------
r1581997 | jleroux | 2014-03-26 19:38:25 +0100 (mer. 26 mars 2014) | 8 lignes

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/branches/release13.07/   (props changed)
    ofbiz/branches/release13.07/applications/content/widget/compdoc/CompDocScreens.xml

Propchange: ofbiz/branches/release13.07/
------------------------------------------------------------------------------
  Merged /ofbiz/trunk:r1581997

Modified: ofbiz/branches/release13.07/applications/content/widget/compdoc/CompDocScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release13.07/applications/content/widget/compdoc/CompDocScreens.xml?rev=1581998&r1=1581997&r2=1581998&view=diff
==============================================================================
--- ofbiz/branches/release13.07/applications/content/widget/compdoc/CompDocScreens.xml (original)
+++ ofbiz/branches/release13.07/applications/content/widget/compdoc/CompDocScreens.xml Wed Mar 26 18:39:16 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">