Author: jleroux Date: Wed Mar 26 18:39:20 2014 New Revision: 1582002 URL: http://svn.apache.org/r1582002 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/release11.04/ (props changed) ofbiz/branches/release11.04/applications/content/widget/compdoc/CompDocScreens.xml Propchange: ofbiz/branches/release11.04/ ------------------------------------------------------------------------------ Merged /ofbiz/trunk:r1581997 Modified: ofbiz/branches/release11.04/applications/content/widget/compdoc/CompDocScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release11.04/applications/content/widget/compdoc/CompDocScreens.xml?rev=1582002&r1=1582001&r2=1582002&view=diff ============================================================================== --- ofbiz/branches/release11.04/applications/content/widget/compdoc/CompDocScreens.xml (original) +++ ofbiz/branches/release11.04/applications/content/widget/compdoc/CompDocScreens.xml Wed Mar 26 18:39:20 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">