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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0026535
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformtrivialhave not tried2014-05-13 12:112014-06-04 13:13
ReporterrafademiguelView Statuspublic 
Assigned Toaaroncalero 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision4414f6d9140b
ProjectionnoneETAnoneTarget Version3.0PR14Q3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Torafademiguel
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

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

DescriptionIt 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 ReproduceIt would be nice to access variable result on CalloutInfo class (nested class of SimpleCallout)
Proposed SolutionCreate a public method to access the variable
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0067110)
shuehner (administrator)
2014-05-13 14:31

why?
Can you please mention your usecase in this feature request
(0067113)
shuehner (administrator)
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 (developer)
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 (developer)
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 (developer)
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 (developer)
2014-06-04 11:46

The issue is resolved and not closed for 15 days now!!

- 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 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 View Revisions
2014-05-15 13:18 aaroncalero Steps to Reproduce Updated View Revisions
2014-05-15 13:35 aaroncalero Note Added: 0067148
2014-05-15 13:36 aaroncalero Description Updated View Revisions
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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker