Author: jleroux
Date: Wed Mar 26 18:39:18 2014
New Revision: 1582000
URL:
http://svn.apache.org/r1582000Log:
"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-5555Scenario:
1. Go to content webapp
2. Go to CompDoc
3. Find all record
4. Edit any record
5. Click Approvals tab
------------------------------------------------------------------------
Modified:
ofbiz/branches/release12.04/ (props changed)
ofbiz/branches/release12.04/applications/content/widget/compdoc/CompDocScreens.xml
Propchange: ofbiz/branches/release12.04/
------------------------------------------------------------------------------
Merged /ofbiz/trunk:r1581997
Modified: ofbiz/branches/release12.04/applications/content/widget/compdoc/CompDocScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release12.04/applications/content/widget/compdoc/CompDocScreens.xml?rev=1582000&r1=1581999&r2=1582000&view=diff==============================================================================
--- ofbiz/branches/release12.04/applications/content/widget/compdoc/CompDocScreens.xml (original)
+++ ofbiz/branches/release12.04/applications/content/widget/compdoc/CompDocScreens.xml Wed Mar 26 18:39:18 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">