Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0027322 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2014-08-13 13:27 | 2014-09-25 11:30 | |||
Reporter | umartirena | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0PR14Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | fa9897fd81dc | ||||
Projection | none | ETA | none | Target Version | 3.0PR14Q4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | shankarb | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0027322: Selectors don't work properly in Parameter Windows if are opened directly from a menu entry | |||||||
Description | Selectors don't work properly in Parameter Windows if are opened directly from a menu entry. The result of the selector is not being filtered properly by organization. This happens because there is not a context parameter called "_org", and in the back end it is expected in that way. Normally this parameter would be retrieved from the row selected in the parent grid when this process is opened in a pop up. But this is not the case. | |||||||
Steps To Reproduce | Create a process definition with an Organization parameter and a Business Partner parameter. Create a menu entry that opens this process definition directly. Realize that the Business Partner selector does not filter by the org of the other parameter(name ad_org_id), neither the logging organization. | |||||||
Proposed Solution | Find any parameter named "_org", and if it is not found, try to use another one called ad_org_id, or something similar. | |||||||
Tags | No tags attached. | |||||||
Attached Files | issue27322.export [^] (1,834 bytes) 2014-09-01 12:49 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||
|
Notes | |
(0069900) hgbot (developer) 2014-09-01 16:56 |
Repository: erp/devel/pi Changeset: 33f4f0a2e46de4c2f6accd0a60cfa303d58466a4 Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Mon Sep 01 12:48:37 2014 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/33f4f0a2e46de4c2f6accd0a60cfa303d58466a4 [^] Fixes issue 27322: Param windows opened from the menu fill in _org parameter The problem was that the organization used to set the _org parameter was the one of the record selected in the view from where the process window has been opened. If the window is opened from the menu then the _org parameter was not being set, and some validations were not working. Now, if the parameter window has an ad_org_id parameter and is not empty, its value will be used to set _org. Otherwise the current user organization will be used. --- M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js --- |
(0069901) AugustoMauch (administrator) 2014-09-01 16:57 |
To test it: - Install this module: https://code.openbravo.com/erp/mods/org.openbravo.finance.addpaymentcreditpaymentsgrid/ [^] - Open the Add Payment process from the menu - Check that the _org parameter is sent in the request done to populate the selectors |
(0069920) hudsonbot (developer) 2014-09-02 19:52 |
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/6b48609f5665 [^] Maturity status: Test |
(0069927) shankarb (reporter) 2014-09-03 07:11 |
Code reviewed and verified in pi changeset 33f4f0a2e46d |
(0070276) hgbot (developer) 2014-09-23 10:36 |
Repository: erp/devel/pi Changeset: fa9897fd81dcd0a07d1cac5b6e16f3fb8d809e6d Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Mon Sep 01 12:48:37 2014 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/fa9897fd81dcd0a07d1cac5b6e16f3fb8d809e6d [^] Fixes issue 27322: Param windows opened from the menu fill in _org parameter If the parameter window has an ad_org_id parameter and is not empty, its value will be used to set _org. Otherwise the current user organization will be used. --- M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js --- |
(0070295) shankarb (reporter) 2014-09-24 08:04 |
Same fix applied again in reconciliation refactor project merge. |
(0070357) hudsonbot (developer) 2014-09-25 11:30 |
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/63604e8e17b7 [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2014-08-13 13:27 | umartirena | New Issue | |
2014-08-13 13:27 | umartirena | Assigned To | => AugustoMauch |
2014-08-13 13:27 | umartirena | Modules | => Core |
2014-08-13 13:27 | umartirena | Triggers an Emergency Pack | => No |
2014-08-13 13:28 | umartirena | Target Version | => 3.0PR14Q4 |
2014-08-13 13:41 | AugustoMauch | Type | feature request => defect |
2014-09-01 12:49 | AugustoMauch | File Added: issue27322.export | |
2014-09-01 16:40 | ngarcia | Issue Monitored: ngarcia | |
2014-09-01 16:53 | AugustoMauch | Issue Monitored: shankarb | |
2014-09-01 16:54 | AugustoMauch | Review Assigned To | => shankarb |
2014-09-01 16:56 | hgbot | Checkin | |
2014-09-01 16:56 | hgbot | Note Added: 0069900 | |
2014-09-01 16:56 | hgbot | Status | new => resolved |
2014-09-01 16:56 | hgbot | Resolution | open => fixed |
2014-09-01 16:56 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/33f4f0a2e46de4c2f6accd0a60cfa303d58466a4 [^] |
2014-09-01 16:57 | AugustoMauch | Note Added: 0069901 | |
2014-09-01 17:16 | ngarcia | Relationship added | related to 0027518 |
2014-09-02 19:52 | hudsonbot | Checkin | |
2014-09-02 19:52 | hudsonbot | Note Added: 0069920 | |
2014-09-03 07:11 | shankarb | Note Added: 0069927 | |
2014-09-03 07:11 | shankarb | Status | resolved => closed |
2014-09-03 07:11 | shankarb | Fixed in Version | => 3.0PR14Q4 |
2014-09-23 10:36 | hgbot | Checkin | |
2014-09-23 10:36 | hgbot | Note Added: 0070276 | |
2014-09-23 10:36 | hgbot | Status | closed => resolved |
2014-09-23 10:36 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/33f4f0a2e46de4c2f6accd0a60cfa303d58466a4 [^] => http://code.openbravo.com/erp/devel/pi/rev/fa9897fd81dcd0a07d1cac5b6e16f3fb8d809e6d [^] |
2014-09-24 08:04 | shankarb | Note Added: 0070295 | |
2014-09-24 08:04 | shankarb | Status | resolved => closed |
2014-09-25 11:30 | hudsonbot | Checkin | |
2014-09-25 11:30 | hudsonbot | Note Added: 0070357 |
Copyright © 2000 - 2009 MantisBT Group |