svn commit: r1798803 - /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: r1798803 - /ofbiz/ofbiz-framework/trunk/applications/order/widget/ordermgr/QuoteForms.xml

jleroux@apache.org
Author: jleroux
Date: Thu Jun 15 08:39:17 2017
New Revision: 1798803

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

To reproduce get to
https://localhost:8443/ordermgr/control/ViewQuoteProfit?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=1798803&r1=1798802&r2=1798803&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:39:17 2017
@@ -430,8 +430,8 @@ under the License.
     </form>
     <form name="ViewQuoteProfit" title="" type="list" list-name="quoteItemAndCostInfos" target=""
         odd-row-style="alternate-row" default-table-style="basic-table hover-bar" paginate-target="ViewQuoteProfit">
-        <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>