Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0029006 | Openbravo ERP | A. Platform | public | 2015-02-20 09:16 | 2017-05-29 17:43 |
Reporter | guilleaer | ||||
Assigned To | caristu | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | 3.0PR17Q3 | |||
Merge Request Status | |||||
Review Assigned To | alostale | ||||
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 | 0029006: Process Definition: Client side validation does not receive info about the pressed button | ||||
Description | If you define several buttons in a process definition and a client side validation is defined, the developer will not be able to identify which button have been pressed inside the client side validation function. | ||||
Steps To Reproduce | 1. Define a process definition 2. Add several buttons to the process definition following this guide [http://wiki.openbravo.com/wiki/How_to_create_a_Standard_Process_Definition#Adding_new_buttons [^]] 3. Define a client side validation function and put a breakpoint there 4. You will see that the information about pressed button is not received | ||||
Proposed Solution | Add the object _allProperties to this. allProperties._buttonValue = btnValue || 'DONE'; allProperties._params = this.getContextInfo(); + this.allProperties = allProperties; actionHandlerCall = function (me) { me.showProcessing(true); OB.RemoteCallManager.call(me.actionHandler, allProperties, { processId: me.processId, windowId: me.windowId }, function (rpcResponse, data, rpcRequest) { view.handleResponse(true, (data && data.message), (data && data.responseActions), (data && data.retryExecution), data); }); }; if (this.clientSideValidation) { this.clientSideValidation(this, actionHandlerCall); } else { actionHandlerCall(this); } | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-02-20 09:16 | guilleaer | New Issue | |||
2015-02-20 09:16 | guilleaer | Assigned To | => AugustoMauch | ||
2015-02-20 09:16 | guilleaer | OBNetwork customer | => No | ||
2015-02-20 09:16 | guilleaer | Modules | => Core | ||
2015-02-20 09:16 | guilleaer | Triggers an Emergency Pack | => No | ||
2015-03-11 09:47 | alostale | Priority | normal => high | ||
2015-03-11 09:47 | alostale | Status | new => acknowledged | ||
2015-03-17 14:37 | alostale | Assigned To | AugustoMauch => platform | ||
2015-11-11 11:37 | alostale | Priority | high => normal | ||
2017-04-24 09:10 | caristu | Assigned To | platform => caristu | ||
2017-04-24 09:10 | caristu | Status | acknowledged => scheduled | ||
2017-04-24 10:27 | hgbot | Checkin | |||
2017-04-24 10:27 | hgbot | Note Added: 0096112 | |||
2017-04-24 10:27 | hgbot | Status | scheduled => resolved | ||
2017-04-24 10:27 | hgbot | Resolution | open => fixed | ||
2017-04-24 10:27 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/b4e2c3368a10644ad3a386bf5599a9c510aedbb4 [^] | ||
2017-04-24 10:49 | caristu | Note Added: 0096117 | |||
2017-04-24 10:55 | caristu | Review Assigned To | => alostale | ||
2017-04-24 12:27 | alostale | Note Added: 0096128 | |||
2017-04-24 12:27 | alostale | Status | resolved => closed | ||
2017-04-24 12:27 | alostale | Fixed in Version | => 3.0PR17Q3 | ||
2017-05-29 17:43 | hudsonbot | Checkin | |||
2017-05-29 17:43 | hudsonbot | Note Added: 0096901 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|