Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0014878 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] A. Platform | major | have not tried | 2010-10-14 18:42 | 2010-12-17 12:12 | |||
| Reporter | azabaleta | View Status | public | |||||
| Assigned To | alostale | |||||||
| Priority | urgent | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | pi | Fixed in SCM revision | 4e43997f9062 | |||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | 2.50MP22 | SCM revision | ||||||
| Merge Request Status | ||||||||
| Review Assigned To | ||||||||
| 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 | 0014878: Not possible to retrieve some variables in ProcessBundle method | |||||||
| Description | Its 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 | |||||||
| Tags | dev-platform-quick-wins | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|||||||||||||||
|
|||||||||||||||
Notes |
|
|
(0031873) iperdomo (viewer) 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 (viewer) 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 (viewer) 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 (viewer) 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 (viewer) 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 | OBNetwork customer | => No |
| 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 |