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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027588
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2014-09-11 12:562014-09-18 06:13
ReporterAugustoMauchView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version3.0PR14Q4
StatusclosedFix in branchFixed in SCM revision87c665421433
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toshankarb
Web browser
ModulesCore
Regression levelCoding ( Testing )
Regression date2014-09-04
Regression introduced in releasepi
Regression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/5e8878153d020c7a347832dec1e5513d5b19c2ca [^]
Triggers an Emergency PackNo
Summary

0027588: Selectors don't work properly in Parameter Windows if are opened directly from a menu entry

DescriptionSelectors 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 ReproduceCreate 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by defect 0027529 closedAugustoMauch Parameter Windows should use the context of its owner tab to initialize the parameters 

-  Notes
(0070084)
hgbot (developer)
2014-09-11 13:49

Repository: erp/devel/pi
Changeset: 87c66542143358af2670d64c34f121912068d365
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Sep 11 13:47:52 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/87c66542143358af2670d64c34f121912068d365 [^]

Fixes issue 27588: _org parameter is added to param windows open from the menu

This changeset [1] broke the previous fix. Now, in OBSelector.prepareDSRequest, when the selector belongs to a parameter window the execution flow enter another if branch. The code to include the _org parameter has been included in that branch.

[1] https://code.openbravo.com/erp/devel/pi/rev/5e8878153d020c7a347832dec1e5513d5b19c2ca [^]

---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
(0070090)
hudsonbot (developer)
2014-09-11 21:26

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/01e44597eb1a [^]
Maturity status: Test
(0070098)
hgbot (developer)
2014-09-12 09:14

Repository: erp/devel/pi
Changeset: 93871d28c8b240e72f9c28ab2c6f7ec527b2ca3c
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Fri Sep 12 09:14:10 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/93871d28c8b240e72f9c28ab2c6f7ec527b2ca3c [^]

Related with issue 27588: Include the params of the param window in the request

When a selector was used in the parameter window, only the values of the selected record in the underlying view were being used to build the request params. The parameters of the param window itself should also be included.

---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
(0070107)
hudsonbot (developer)
2014-09-12 16:39

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/5c9f936cfa1d [^]
Maturity status: Test
(0070190)
shankarb (reporter)
2014-09-18 06:13

Code reviewed and verified in pi changeset 04ae35aa72e5.

- Issue History
Date Modified Username Field Change
2014-09-11 12:56 AugustoMauch New Issue
2014-09-11 12:56 AugustoMauch Assigned To => AugustoMauch
2014-09-11 12:56 AugustoMauch Modules => Core
2014-09-11 12:56 AugustoMauch Regression level => Coding ( Testing )
2014-09-11 12:56 AugustoMauch Regression date => 2014-09-04
2014-09-11 12:56 AugustoMauch Regression introduced in release => pi
2014-09-11 12:56 AugustoMauch Regression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/5e8878153d020c7a347832dec1e5513d5b19c2ca [^]
2014-09-11 12:56 AugustoMauch Triggers an Emergency Pack => No
2014-09-11 12:57 AugustoMauch Relationship added caused by 0027529
2014-09-11 13:48 AugustoMauch Issue Monitored: shankarb
2014-09-11 13:48 AugustoMauch Review Assigned To => shankarb
2014-09-11 13:49 hgbot Checkin
2014-09-11 13:49 hgbot Note Added: 0070084
2014-09-11 13:49 hgbot Status new => resolved
2014-09-11 13:49 hgbot Resolution open => fixed
2014-09-11 13:49 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/87c66542143358af2670d64c34f121912068d365 [^]
2014-09-11 21:26 hudsonbot Checkin
2014-09-11 21:26 hudsonbot Note Added: 0070090
2014-09-12 09:14 hgbot Checkin
2014-09-12 09:14 hgbot Note Added: 0070098
2014-09-12 16:39 hudsonbot Checkin
2014-09-12 16:39 hudsonbot Note Added: 0070107
2014-09-18 06:13 shankarb Note Added: 0070190
2014-09-18 06:13 shankarb Status resolved => closed
2014-09-18 06:13 shankarb Fixed in Version => 3.0PR14Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker