Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0044164
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformminorhave not tried2020-05-22 13:282020-06-08 16:18
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in VersionPR20Q3
StatusclosedFix in branchFixed in SCM revisionef15eaf93ebc
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tocaristu
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0044164: make it possible to add information to process definition payload on client side

DescriptionCurrently 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-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0120183)
alostale (manager)
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 (developer)
2020-06-08 16:18

Reviewed

- Issue History
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 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
Powered by Mantis Bugtracker