Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0026535Openbravo ERPA. Platformpublic2014-05-13 12:112014-06-04 13:13
rafademiguel 
aaroncalero 
normaltrivialhave not tried
closedfixed 
5
pi 
3.0PR14Q3 
rafademiguel
Core
No
0026535: It would be nice to access variable result on CalloutInfo class (nested class of SimpleCallout)
It would be nice to access variable result on CalloutInfo class (nested class of SimpleCallout)
Use case: we have a callout which calls another callout (defined in core) and then does something custom. We need to be able to read the information returned by the first callout (stored in the result variable) to perform the custom actions
It would be nice to access variable result on CalloutInfo class (nested class of SimpleCallout)
Create a public method to access the variable
No tags attached.
Issue History
2014-05-13 12:11rafademiguelNew Issue
2014-05-13 12:11rafademiguelAssigned To => rafademiguel
2014-05-13 12:11rafademiguelModules => Core
2014-05-13 12:11rafademiguelTriggers an Emergency Pack => No
2014-05-13 14:31shuehnerNote Added: 0067110
2014-05-13 14:31shuehnerIssue Monitored: shuehner
2014-05-13 15:18shuehnerNote Added: 0067113
2014-05-15 13:18aaroncaleroSummaryIt would be nice to access variable result on SimpleCallout class => It would be nice to access variable result on CalloutInfo class (nested class of SimpleCallout)
2014-05-15 13:18aaroncaleroDescription Updatedbug_revision_view_page.php?rev_id=5828#r5828
2014-05-15 13:18aaroncaleroSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=5830#r5830
2014-05-15 13:35aaroncaleroNote Added: 0067148
2014-05-15 13:36aaroncaleroDescription Updatedbug_revision_view_page.php?rev_id=5831#r5831
2014-05-20 11:47hgbotCheckin
2014-05-20 11:47hgbotNote Added: 0067298
2014-05-20 11:47hgbotStatusnew => resolved
2014-05-20 11:47hgbotResolutionopen => fixed
2014-05-20 11:47hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4414f6d9140bb90a15ef0ba76c3392ab5744b3a7 [^]
2014-05-21 18:34hudsonbotCheckin
2014-05-21 18:34hudsonbotNote Added: 0067345
2014-06-04 11:46dmitry_mezentsevNote Added: 0067745
2014-06-04 13:12rafademiguelAssigned Torafademiguel => aaroncalero
2014-06-04 13:12rafademiguelStatusresolved => new
2014-06-04 13:12rafademiguelResolutionfixed => open
2014-06-04 13:12rafademiguelReview Assigned To => rafademiguel
2014-06-04 13:12rafademiguelStatusnew => scheduled
2014-06-04 13:12rafademiguelfix_in_branch => pi
2014-06-04 13:13rafademiguelStatusscheduled => resolved
2014-06-04 13:13rafademiguelResolutionopen => fixed
2014-06-04 13:13rafademiguelStatusresolved => closed

Notes
(0067110)
shuehner   
2014-05-13 14:31   
why?
Can you please mention your usecase in this feature request
(0067113)
shuehner   
2014-05-13 15:18   
2nd question seeing current try-run:

Why should that function be public? and not protected like it would be standard giving that SimpleCallout is just a class designed to be extended but not called to externally?
(0067148)
aaroncalero   
2014-05-15 13:35   
The function should be public because the object used to access it is an instance of CalloutInfo, not a class that extends it (as we said before).
Regarding the usecase, we have a callout which calls another callout (defined in core) and then does something custom. We need to be able to read the information returned by the first callout (stored in the result variable) to perform the custom actions.
(0067298)
hgbot   
2014-05-20 11:47   
Repository: erp/devel/pi
Changeset: 4414f6d9140bb90a15ef0ba76c3392ab5744b3a7
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Tue May 20 11:46:57 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/4414f6d9140bb90a15ef0ba76c3392ab5744b3a7 [^]

Fixed issue 26535: It would be nice to access variable result on CalloutInfo class (nested class of SimpleCallout)

---
M src/org/openbravo/erpCommon/ad_callouts/SimpleCallout.java
---
(0067345)
hudsonbot   
2014-05-21 18:34   
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/30be5c8a933a [^]
Maturity status: Test
(0067745)
dmitry_mezentsev   
2014-06-04 11:46   
The issue is resolved and not closed for 15 days now!!