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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027590
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2014-09-11 18:232014-09-18 06:13
ReporterAugustoMauchView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version3.0PR14Q4
StatusclosedFix in branchFixed in SCM revision7d46ca24405f
ProjectionnoneETAnoneTarget Version3.0PR14Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toshankarb
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027590: P&E grids are not setting the _org parameter properly in the datasource request

DescriptionPick and Execute grids are not setting the _org parameter properly in the datasource request. They are get the organization either from the view where the process is defined (that view is null if the process is opened from the menu) or they are set from the current user organization.

The first place where the organization is looked for should be the parameters of the parameter window. If there is an organization parameter, then it should take precedence over the underlying view and over the user organization.
Steps To ReproduceCheck the getOrgParameter function of the ob-pick-and-execute-grid.js file. At no point it looks for the organization in the parameters of the parameter window.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0070087)
hgbot (developer)
2014-09-11 18:32

Repository: erp/devel/pi
Changeset: 7d46ca24405fcace7017e0473871d0a372a73fdf
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Sep 11 18:26:33 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7d46ca24405fcace7017e0473871d0a372a73fdf [^]

Fixes issue 27590: P&E grids are not setting the _org parameter properly

Now the proper _org parameter is included in the request parameters. The organization is picked like this:
- If there is an organization parameter in the parameter window, pick it
- If not there, try to obtain it from the view that defines the process
- If not there, use the current client organization

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
---
(0070105)
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
(0070137)
hgbot (developer)
2014-09-16 10:11

Repository: erp/devel/pi
Changeset: 97d8692ae48c0da4a58ca71b7ca5197c13439355
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Tue Sep 16 10:10:01 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/97d8692ae48c0da4a58ca71b7ca5197c13439355 [^]

Related to Issue 27590: P&E grids are not setting the _org parameter properly

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
---
(0070160)
hudsonbot (developer)
2014-09-17 01:50

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/8faa150d42bc [^]
Maturity status: Test
(0070191)
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 18:23 AugustoMauch New Issue
2014-09-11 18:23 AugustoMauch Assigned To => AugustoMauch
2014-09-11 18:23 AugustoMauch Modules => Core
2014-09-11 18:23 AugustoMauch Triggers an Emergency Pack => No
2014-09-11 18:26 AugustoMauch Issue Monitored: shankarb
2014-09-11 18:27 AugustoMauch Review Assigned To => shankarb
2014-09-11 18:32 hgbot Checkin
2014-09-11 18:32 hgbot Note Added: 0070087
2014-09-11 18:32 hgbot Status new => resolved
2014-09-11 18:32 hgbot Resolution open => fixed
2014-09-11 18:32 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7d46ca24405fcace7017e0473871d0a372a73fdf [^]
2014-09-12 16:39 hudsonbot Checkin
2014-09-12 16:39 hudsonbot Note Added: 0070105
2014-09-16 10:11 hgbot Checkin
2014-09-16 10:11 hgbot Note Added: 0070137
2014-09-17 01:50 hudsonbot Checkin
2014-09-17 01:50 hudsonbot Note Added: 0070160
2014-09-18 06:13 shankarb Note Added: 0070191
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