Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016492Openbravo ERPA. Platformpublic2011-03-25 15:062011-05-12 13:28
AinhoaPagola 
iperdomo 
urgentminoralways
closedfixed 
20Ubuntu 8.4
 
3.0RC73.0RC7 
Core
No
0016492: It is not possible to use 'EXECUTE' command in callouts in Openbravo 3
In windows using the new layout, it is not possible to append an Array with the EXECUTE command in the callouts, as it won't be evaluated anymore.

Before, it was possible to execute an script, that for instance, displayed a confirm message.
No tags attached.
depends on feature request 00165463.0RC6 closed marvintm Openbravo ERP If a callout uses 'EXECUTE' the window must be marked to be shown in classic mode 
related to defect 0016696 closed iperdomo Openbravo ERP Callout not working: SL_Internal_Consumption_Product 
blocks defect 0016484 closed vmromanos Localization Pack: Spain OB3 RC5 - SE_CIFNIF_Validator callout seems not to be working properly 
diff ExecuteActionHandler.java.diff (2,144) 2011-03-25 18:06
https://issues.openbravo.com/file_download.php?file_id=3762&type=bug
Issue History
2011-03-25 15:06AinhoaPagolaNew Issue
2011-03-25 15:06AinhoaPagolaAssigned To => iperdomo
2011-03-25 15:06AinhoaPagolaModules => Core
2011-03-25 15:47shuehnerIssue Monitored: shuehner
2011-03-25 18:06iperdomoFile Added: ExecuteActionHandler.java.diff
2011-03-25 18:07iperdomoNote Added: 0035257
2011-03-25 18:15iperdomoStatusnew => acknowledged
2011-03-28 11:56vmromanosRelationship addedblocks 0016484
2011-03-29 19:06iperdomoRelationship addeddepends on 0016546
2011-04-04 18:34vmromanosIssue Monitored: vmromanos
2011-04-07 15:15AinhoaPagolaRelationship addedrelated to 0016696
2011-04-26 16:09dalsasuaIssue Monitored: networkb
2011-04-26 16:43gorkaionIssue Monitored: gorkaion
2011-04-28 15:40adrianromeroTarget Version => 3.0RC7
2011-04-28 18:47iperdomoSeveritymajor => minor
2011-04-29 11:10iperdomoStatusacknowledged => scheduled
2011-04-29 11:10iperdomofix_in_branch => pi
2011-04-29 12:25hgbotCheckin
2011-04-29 12:25hgbotNote Added: 0036205
2011-04-29 12:25hgbotStatusscheduled => resolved
2011-04-29 12:25hgbotResolutionopen => fixed
2011-04-29 12:25hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/38523b042486577d473d99a838a1a6bfb819be2d [^]
2011-05-04 18:24gorkaionNote Added: 0036369
2011-05-04 18:24gorkaionStatusresolved => closed
2011-05-04 18:24gorkaionFixed in Version => 3.0RC7
2011-05-12 13:28hudsonbotCheckin
2011-05-12 13:28hudsonbotNote Added: 0036786

Notes
(0035257)
iperdomo   
2011-03-25 18:07   
A sample call to that action handler:

OB.RemoteCallManager.call('org.openbravo.client.application.example.ExecuteActionHandler', {}, {}, function(request, data, response){if(data && data.ex1) {eval(data.ex1);}});
(0036205)
hgbot   
2011-04-29 12:25   
Repository: erp/devel/pi
Changeset: 38523b042486577d473d99a838a1a6bfb819be2d
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Fri Apr 29 12:23:04 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/38523b042486577d473d99a838a1a6bfb819be2d [^]

Fixes issue 16492: Added JSEXECUTE command to callouts
- Added the feature JSEXECUTE to execute eval() code in the client
- Added sample callout with a hello world message

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form.js
A modules/org.openbravo.client.application/src/org/openbravo/client/application/example/JSExecuteCalloutExample.java
---
(0036369)
gorkaion   
2011-05-04 18:24   
Callouts with an EXECUTE command will make the window to open on classic mode.

Reimplemented callouts using JSEXECUTE command works on new ui.
(0036786)
hudsonbot   
2011-05-12 13:28   
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/c40e579fcd38 [^]

Maturity status: Test