svn commit: r1563685 - in /ofbiz/branches/release13.07: ./ applications/manufacturing/widget/manufacturing/ProductionRunForms.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1563685 - in /ofbiz/branches/release13.07: ./ applications/manufacturing/widget/manufacturing/ProductionRunForms.xml

jleroux@apache.org
Author: jleroux
Date: Sun Feb  2 17:51:48 2014
New Revision: 1563685

URL: http://svn.apache.org/r1563685
Log:
"Applied fix from trunk for revision: 1563683"
------------------------------------------------------------------------
r1563683 | jleroux | 2014-02-02 18:48:37 +0100 (dim. 02 févr. 2014) | 5 lignes

A patch from Christian Carlow  for "Mandatory and dependent production run links don't navigate to corresponding production run page when clicked" https://issues.apache.org/jira/browse/OFBIZ-5502

When clicking the links associated with madatory or dependent production runs, the corresponding production run page is not loaded. This means its required to go back to the production run search page and lookup the productionRunId manually. I think the links should load the corresponding production run page when clicked.

This simple patch resolves the problem. The <hyperlink> elements in the form widget needed the "link-type" attribute set to "anchor" otherwise it defaults to creating a link that submits a form that automatically sets the productionRunId to the current production run workEffortId which causes this issue.
------------------------------------------------------------------------


Modified:
    ofbiz/branches/release13.07/   (props changed)
    ofbiz/branches/release13.07/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml

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

Modified: ofbiz/branches/release13.07/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release13.07/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml?rev=1563685&r1=1563684&r2=1563685&view=diff
==============================================================================
--- ofbiz/branches/release13.07/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml (original)
+++ ofbiz/branches/release13.07/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml Sun Feb  2 17:51:48 2014
@@ -825,7 +825,7 @@ under the License.
     <form name="mandatoryWorkEfforts" type="list" target="" title="" list-name="mandatoryWorkEfforts"
         odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
         <field name="workEffortIdFrom" title=" " widget-style="buttontext">
-            <hyperlink target="ShowProductionRun" description="${workEffortIdFrom}" also-hidden="false">
+            <hyperlink target="ShowProductionRun" description="${workEffortIdFrom}" also-hidden="false" link-type="anchor">
                 <parameter param-name="productionRunId" from-field="workEffortIdFrom"/>
             </hyperlink>
         </field>
@@ -854,7 +854,7 @@ under the License.
     <form name="dependentWorkEfforts" type="list" target="" title="" list-name="dependentWorkEfforts"
         odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
         <field name="workEffortIdTo" title=" " widget-style="buttontext">
-            <hyperlink target="ShowProductionRun" description="${workEffortIdTo}" also-hidden="false">
+            <hyperlink target="ShowProductionRun" description="${workEffortIdTo}" also-hidden="false" link-type="anchor">
                 <parameter param-name="productionRunId" from-field="workEffortIdTo"/>
             </hyperlink>
         </field>