"Applied fix from trunk for revision: 1859033"
------------------------------------------------------------------------ r1859033 | jleroux | 2019-05-09 21:46:07 +0200 (jeu. 09 mai 2019) | 21 lignes Fixed: Update invoice item looses invoice context (OFBIZ-11009) When clicking the "update" button on an invoice item the context to the invoice (invoiceId) is lost. The result is an empty form to add a new invoice item without invoice context. Go to /accounting/control/listInvoiceItems?invoiceId=demo10001 Click on "update" below the existing items. You will then be redirect to /accounting/control/listInvoiceItems (without invoiceId). You will not see the invoice items as the context to the invoice is gone. jleroux: the same existed for budget items. As Ingo mentioned: <<It was broken by OFBIZ-9997: Replace request-redirect w/ no redirect-param attribute by request-redirect-noparam>> Now we need to check all changes done for OFBIZ-9997 Thanks: Ingo Wolfmayr for report and fix proposition ------------------------------------------------------------------------ git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release17.12@1859035 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -194,7 +194,7 @@ under the License.
|
||||
<request-map uri="updateInvoiceItem">
|
||||
<security https="true" auth="true"/>
|
||||
<event type="service-multi" invoke="updateInvoiceItem"/>
|
||||
<response name="success" type="request-redirect-noparam" value="listInvoiceItems"/>
|
||||
<response name="success" type="request-redirect" value="listInvoiceItems"/>
|
||||
<response name="error" type="view" value="listInvoiceItems"/>
|
||||
</request-map>
|
||||
<request-map uri="removeInvoiceItem">
|
||||
@@ -1093,7 +1093,7 @@ under the License.
|
||||
<request-map uri="updateBudgetItem">
|
||||
<security https="true" auth="true"/>
|
||||
<event type="service-multi" invoke="updateBudgetItem"/>
|
||||
<response name="success" type="request-redirect-noparam" value="EditBudgetItems"/>
|
||||
<response name="success" type="request-redirect" value="EditBudgetItems"/>
|
||||
<response name="error" type="view" value="EditBudgetItems"/>
|
||||
</request-map>
|
||||
<request-map uri="removeBudgetItem">
|
||||
|
||||
Reference in New Issue
Block a user