Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0044164 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Openbravo ERP] A. Platform | minor | have not tried | 2020-05-22 13:28 | 2020-06-08 16:18 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | PR20Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | ef15eaf93ebc | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | caristu | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0044164: make it possible to add information to process definition payload on client side | |||||||
Description | Currently it is possible to define a client side validation to be executed before a process definition invokes the backend process [1]. This validation can either stop or continue the process, but in case of continuing it cannot modify the payload the backed will receive. In some cases this can be useful. [1] http://wiki.openbravo.com/wiki/How_to_create_a_Standard_Process_Definition#Invoking_a_client_side_validation_before_calling_the_action_handler [^] | |||||||
Steps To Reproduce | - | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0120183) alostale (viewer) 2020-05-22 13:47 |
MR: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/75 [^] |
(0120384) hgbot (developer) 2020-05-28 10:18 |
Repository: erp/devel/pi Changeset: ef15eaf93ebce131d0ce41f219fc47cfde9639a1 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Fri May 22 13:29:42 2020 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/ef15eaf93ebce131d0ce41f219fc47cfde9639a1 [^] fixed FR-44164: make it possible to add info to process definition payload Before it was possible for a process definintion to include additional parameters calculated in a JavaScript function by using the view's externalParams property. This feature could not be used to add information to the payload based on current paramteters as the way to inject JavaScript code is through a client side validation which is executed after the payload is calucalted. Now additional paramters are added to the payload just before invoking the server, in this way client side validation can be used also to add information to the payload. --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js --- |
(0120743) caristu (viewer) 2020-06-08 16:18 |
Reviewed |
![]() |
|||
Date Modified | Username | Field | Change |
2020-05-22 13:28 | alostale | New Issue | |
2020-05-22 13:28 | alostale | Assigned To | => platform |
2020-05-22 13:28 | alostale | OBNetwork customer | => No |
2020-05-22 13:28 | alostale | Modules | => Core |
2020-05-22 13:28 | alostale | Triggers an Emergency Pack | => No |
2020-05-22 13:33 | alostale | Summary | make it possible to change process definition payload on client side => make it possible to add information to process definition payload on client side |
2020-05-22 13:46 | alostale | Assigned To | platform => alostale |
2020-05-22 13:46 | alostale | Status | new => scheduled |
2020-05-22 13:47 | alostale | Note Added: 0120183 | |
2020-05-22 13:47 | alostale | Review Assigned To | => caristu |
2020-05-28 10:18 | hgbot | Checkin | |
2020-05-28 10:18 | hgbot | Note Added: 0120384 | |
2020-05-28 10:18 | hgbot | Status | scheduled => resolved |
2020-05-28 10:18 | hgbot | Resolution | open => fixed |
2020-05-28 10:18 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/ef15eaf93ebce131d0ce41f219fc47cfde9639a1 [^] |
2020-06-08 16:18 | caristu | Note Added: 0120743 | |
2020-06-08 16:18 | caristu | Status | resolved => closed |
2020-06-08 16:18 | caristu | Fixed in Version | => 3.0PR20Q3 |
Copyright © 2000 - 2009 MantisBT Group |