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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0015269
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Multi-Business Partner Selectormajoralways2010-11-23 14:512011-07-20 18:10
ReporterpsanjuanView Statuspublic 
Assigned Tojonalegriaesarte 
PriorityurgentResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseOracleJava version1.6
OS VersionUbuntu 8.04.1Database version11.1.0.6.0Ant version1.7.0
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0015269: If selector is used with a role that do not have access to the business partner category window, it may not work

DescriptionIf selector is used with a role that do not have access to the business partner category window, it may not work, as the code:
  private <T extends BaseOBObject> String createListbox(Class<T> t, String currentValue) {
    final OBCriteria<T> ocs = OBDal.getInstance().createCriteria(t);
may retrieve zero results.

Multidimensional Tax Report module (Localization module) depends on Multi Business Partner Selector, so we need this to be fixed.
Proposed SolutionProposed solution is to use the statement
try {
  OBContext.setAdminMode(true);
  ... existing DAL related code ...
} finally {
  OBContext.restorePreviousMode();
}
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2010-11-23 14:51 psanjuan New Issue
2010-11-23 14:51 psanjuan Assigned To => mtaal
2011-06-03 11:10 dalsasua Assigned To mtaal => dalsasua
2011-07-20 18:10 dalsasua Assigned To dalsasua => jonalegriaesarte


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker