Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027533Openbravo ERPA. Platformpublic2014-09-03 11:042014-09-08 17:10
alostale 
alostale 
normalminoralways
closedfixed 
5
 
3.0PR14Q43.0PR14Q4 
AugustoMauch
Core
No
0027533: context information is sent as a query string parameter when calculating defaults in process definition windows
The request sent to calculate default values in process definition windows invoked from a standard window includes the context information (current record's field values) as part of the query string paramters. This can cause query string to be bigger than the maximum size accepted by the browser.
-Create a sales order and process it
-Open chrome dev tools
-Click add payment
  Check there is a request to DefaultsProcessActionHandler where the context information is part of the query string parameters
Context information should be sent as form data with the same format sent when the "Done" button is clicked.
No tags attached.
related to defect 0037857 closed caristu Wrong FIC Request after selecting all records in a grid with hundreds of lines 
Issue History
2014-09-03 11:04alostaleNew Issue
2014-09-03 11:04alostaleAssigned To => alostale
2014-09-03 11:04alostaleModules => Core
2014-09-03 11:04alostaleTriggers an Emergency Pack => No
2014-09-03 11:04alostaleReview Assigned To => AugustoMauch
2014-09-03 11:12hgbotCheckin
2014-09-03 11:12hgbotNote Added: 0069938
2014-09-03 11:12hgbotStatusnew => resolved
2014-09-03 11:12hgbotResolutionopen => fixed
2014-09-03 11:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/02687eeace5ef408a2b9465dd0ec8dbcbd594fb1 [^]
2014-09-03 19:15hudsonbotCheckin
2014-09-03 19:15hudsonbotNote Added: 0069949
2014-09-08 17:10AugustoMauchNote Added: 0070023
2014-09-08 17:10AugustoMauchStatusresolved => closed
2014-09-08 17:10AugustoMauchFixed in Version => 3.0PR14Q4
2018-02-08 10:05caristuRelationship addedrelated to 0037857

Notes
(0069938)
hgbot   
2014-09-03 11:12   
Repository: erp/devel/pi
Changeset: 02687eeace5ef408a2b9465dd0ec8dbcbd594fb1
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Sep 03 11:11:20 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/02687eeace5ef408a2b9465dd0ec8dbcbd594fb1 [^]

fixed bug 27533: context as a query string in defaults for process definition

   Now context information is sent as form data with the same format used when
   the actual process is invoked.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/process/BaseProcessActionHandler.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/process/DefaultsProcessActionHandler.java
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js
---
(0069949)
hudsonbot   
2014-09-03 19:15   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/63ea0df119a5 [^]
Maturity status: Test
(0070023)
AugustoMauch   
2014-09-08 17:10   
Code reviewed and verified in pi@02687eeace5e