Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0026535 | Openbravo ERP | A. Platform | public | 2014-05-13 12:11 | 2014-06-04 13:13 |
|
Reporter | rafademiguel | |
Assigned To | aaroncalero | |
Priority | normal | Severity | trivial | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | 3.0PR14Q3 | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | rafademiguel |
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 | 0026535: It would be nice to access variable result on CalloutInfo class (nested class of SimpleCallout) |
Description | 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 |
Steps To Reproduce | It would be nice to access variable result on CalloutInfo class (nested class of SimpleCallout) |
Proposed Solution | Create a public method to access the variable |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2014-05-13 12:11 | rafademiguel | New Issue | |
2014-05-13 12:11 | rafademiguel | Assigned To | => rafademiguel |
2014-05-13 12:11 | rafademiguel | Modules | => Core |
2014-05-13 12:11 | rafademiguel | OBNetwork customer | => No |
2014-05-13 12:11 | rafademiguel | Triggers an Emergency Pack | => No |
2014-05-13 14:31 | shuehner | Note Added: 0067110 | |
2014-05-13 14:31 | shuehner | Issue Monitored: shuehner | |
2014-05-13 15:18 | shuehner | Note Added: 0067113 | |
2014-05-15 13:18 | aaroncalero | Summary | It 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:18 | aaroncalero | Description Updated | bug_revision_view_page.php?rev_id=5828#r5828 |
2014-05-15 13:18 | aaroncalero | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=5830#r5830 |
2014-05-15 13:35 | aaroncalero | Note Added: 0067148 | |
2014-05-15 13:36 | aaroncalero | Description Updated | bug_revision_view_page.php?rev_id=5831#r5831 |
2014-05-20 11:47 | hgbot | Checkin | |
2014-05-20 11:47 | hgbot | Note Added: 0067298 | |
2014-05-20 11:47 | hgbot | Status | new => resolved |
2014-05-20 11:47 | hgbot | Resolution | open => fixed |
2014-05-20 11:47 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/4414f6d9140bb90a15ef0ba76c3392ab5744b3a7 [^] |
2014-05-21 18:34 | hudsonbot | Checkin | |
2014-05-21 18:34 | hudsonbot | Note Added: 0067345 | |
2014-06-04 11:46 | dmitry_mezentsev | Note Added: 0067745 | |
2014-06-04 13:12 | rafademiguel | Assigned To | rafademiguel => aaroncalero |
2014-06-04 13:12 | rafademiguel | Status | resolved => new |
2014-06-04 13:12 | rafademiguel | Resolution | fixed => open |
2014-06-04 13:12 | rafademiguel | Review Assigned To | => rafademiguel |
2014-06-04 13:12 | rafademiguel | Status | new => scheduled |
2014-06-04 13:12 | rafademiguel | fix_in_branch | => pi |
2014-06-04 13:13 | rafademiguel | Status | scheduled => resolved |
2014-06-04 13:13 | rafademiguel | Resolution | open => fixed |
2014-06-04 13:13 | rafademiguel | Status | resolved => closed |
Notes |
|
|
why?
Can you please mention your usecase in this feature request |
|
|
|
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? |
|
|
|
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
---
|
|
|
|
|
|
|
The issue is resolved and not closed for 15 days now!! |
|