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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0014878
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2010-10-14 18:422010-12-17 12:12
ReporterazabaletaView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision4e43997f9062
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP22SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0014878: Not possible to retrieve some variables in ProcessBundle method

DescriptionIts ver interesting to be able to retrieve some data such as record_id, ad_window_id, ad_table_id ...etc from a window when you use the ProcessBundle method. As it is now, you cannot retrieve this data.

There is no access to vars under ProcessBundle.

Thanks
Tagsdev-platform-quick-wins
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0009564 closediperdomo ProcessBundle not properly created 
depends on backport 0015452 closedalostale Not possible to retrieve some variables in ProcessBundle method 

-  Notes
(0031873)
iperdomo (reporter)
2010-10-15 09:44

The ProcessBundle [1] has a ProcessContext [2], the ProcessContext has accessor method to all required memebers of vars, eg. Client, Organization, Language etc.

If you want to get the request parameters, please use the getParams [3] method, that returns a map key/value of the request parameters.


[1] http://code.openbravo.com/docs/erp/devel/2.50MP22/org/openbravo/scheduling/ProcessBundle.html#getContext%28%29 [^]
[2] http://code.openbravo.com/docs/erp/devel/2.50MP22/org/openbravo/scheduling/ProcessContext.html [^]
[3] http://code.openbravo.com/docs/erp/devel/2.50MP22/org/openbravo/scheduling/ProcessBundle.html#getParams%28%29 [^]

Cheers,

Iván
(0032681)
iciordia (manager)
2010-11-17 17:56

Ivan misunderstood the explanation of the problem, it will be fixed in a couple of weeks as planned.

Ismael
(0033168)
azabaleta (developer)
2010-12-14 15:29

Hi @iciordia, do we have an stimated date for this fix? When will the MP25 code freeze happen? Thanks !
(0033224)
alostale (manager)
2010-12-16 11:09

Record ID is currently passed as parameter as pk columnname (for example when calling from Sales Order Header tab it would be C_Order_ID).

Adding a new tabId parameter with the id of the tab the process was invoked from.
(0033267)
marvintm (developer)
2010-12-17 12:12

Works fine, the tabId parameter is there and can be used to get the rest of the information.

- Issue History
Date Modified Username Field Change
2010-10-14 18:42 azabaleta New Issue
2010-10-14 18:42 azabaleta Assigned To => alostale
2010-10-14 19:41 iciordia Fixed in Version => 2.50MP24
2010-10-14 19:43 iciordia Fixed in Version 2.50MP24 => 2.50MP25
2010-10-15 09:44 iperdomo Note Added: 0031873
2010-10-15 09:44 iperdomo Status new => closed
2010-10-15 09:44 iperdomo Resolution open => no change required
2010-10-16 00:00 anonymous sf_bug_id 0 => 3088374
2010-11-17 13:37 rafaroda Issue Monitored: rafaroda
2010-11-17 13:38 rafaroda Relationship added related to 0009564
2010-11-17 13:39 rafaroda Tag Attached: dev-platform-quick-wins
2010-11-17 17:56 iciordia Note Added: 0032681
2010-11-17 17:56 iciordia Status closed => new
2010-11-17 17:56 iciordia Resolution no change required => open
2010-11-17 17:56 iciordia Fixed in Version 2.50MP25 =>
2010-11-22 08:35 alostale Status new => scheduled
2010-12-14 15:29 azabaleta Note Added: 0033168
2010-12-16 11:09 alostale Note Added: 0033224
2010-12-16 11:34 alostale Status scheduled => resolved
2010-12-16 11:34 alostale Fixed in SCM revision => https://code.openbravo.com/erp/devel/pi/rev/4e43997f9062 [^]
2010-12-16 11:34 alostale Resolution open => fixed
2010-12-16 11:35 alostale Status resolved => new
2010-12-16 11:35 alostale Resolution fixed => open
2010-12-16 11:35 alostale Status new => scheduled
2010-12-16 11:35 alostale fix_in_branch => pi
2010-12-16 11:37 alostale Status scheduled => resolved
2010-12-16 11:37 alostale Resolution open => fixed
2010-12-17 12:12 marvintm Note Added: 0033267
2010-12-17 12:12 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker