svn commit: r1798808 - /ofbiz/ofbiz-framework/trunk/applications/order/widget/ordermgr/QuoteForms.xml

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

svn commit: r1798808 - /ofbiz/ofbiz-framework/trunk/applications/order/widget/ordermgr/QuoteForms.xml

jleroux@apache.org
Author: jleroux
Date: Thu Jun 15 08:52:43 2017
New Revision: 1798808

URL: http://svn.apache.org/viewvc?rev=1798808&view=rev
Log:
Fixed: RequestHandlerException on request link of Quote Price page
(OFBIZ-9384)

To reproduce get to
https://localhost:8443/ordermgr/control/ManageQuotePrices?quoteId=CQ0001
Click on link under View Request. It gives a RequestHandlerException.

jleroux: I simply changed the link from inter-app to simple (inter-app works
also but is not right)

Thanks: Aditya

Modified:
    ofbiz/ofbiz-framework/trunk/applications/order/widget/ordermgr/QuoteForms.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/order/widget/ordermgr/QuoteForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/order/widget/ordermgr/QuoteForms.xml?rev=1798808&r1=1798807&r2=1798808&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/order/widget/ordermgr/QuoteForms.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/order/widget/ordermgr/QuoteForms.xml Thu Jun 15 08:52:43 2017
@@ -341,8 +341,8 @@ under the License.
 
     <form name="ManageQuotePrices"  title="" type="multi" list-name="quoteItemAndCostInfos" target="autoUpdateQuotePrices?quoteId=${quoteId}" use-row-submit="true"
         odd-row-style="alternate-row" default-table-style="basic-table hover-bar" paginate-target="ManageQuotePrices">
-        <field name="custRequestId" title="${uiLabelMap.OrderOrderQuoteViewRequest}" widget-style="buttontext">
-            <hyperlink target-type="inter-app" also-hidden="false" description="${custRequestId}-${custRequestItemSeqId}" target="/workeffort/control/requestitem">
+        <field name="custRequestId" title="${uiLabelMap.OrderOrderQuoteViewRequest}" widget-style="buttontext" use-when="custRequestId!=null &amp;&amp; custRequestItemSeqId!=null">
+            <hyperlink also-hidden="false" description="${custRequestId}-${custRequestItemSeqId}" target="requestitem">
                 <parameter param-name="custRequestId"/>
                 <parameter param-name="custRequestItemSeqId"/>
             </hyperlink>