Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformmajorhave not tried2011-02-09 14:152011-05-24 10:56
ReportershuehnerView Statuspublic 
Assigned Toshuehner 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisiond98f5745a830
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0015900: ModelProvider.getTables() should return tables usable via dal/ModelProvider (and not all tables)

DescriptionMost methods of the ModelProvider class do return the tables/columns/entities etc usable via dal.

However the public getTables() method does return all tables including those which are not usable via DAL (i.e. tables not having any column defined as primary key).

Proposed SolutionChange implementation to be consistent with the other function and not return the tables which are not usable by DAL.

Nice side-effect this info is already loaded in the in memory model, so the changed getTables could be used without any db-reads necessary.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
hgbot (developer)
2011-02-09 15:12

Repository: erp/devel/pi
Changeset: d98f5745a83031ee6f841afa2810c2b96182b5c6
Author: Stefan Hühner <stefan.huehner <at>>
Date: Wed Feb 09 15:12:04 2011 +0100
URL: [^]

Fixed 15900. Change getTables() to only return tables usable with DAL.
This changes the list of tables returned by ModelProvider.getTables() to only
return the list of tables usable with dal and not all the tables which are
defined in ad_table. Difference between those are tables not supported by dal
i.e. which do not have any column defined which is marked as primary key.

M src/org/openbravo/base/model/

- Issue History
Date Modified Username Field Change
2011-02-09 14:15 shuehner New Issue
2011-02-09 14:15 shuehner Assigned To => shuehner
2011-02-09 14:15 shuehner Modules => Core
2011-02-09 15:12 hgbot Checkin
2011-02-09 15:12 hgbot Note Added: 0034101
2011-02-09 15:12 hgbot Status new => resolved
2011-02-09 15:12 hgbot Resolution open => fixed
2011-02-09 15:12 hgbot Fixed in SCM revision => [^]
2011-05-24 10:08 dalsasua Tag Attached: closingMay2011
2011-05-24 10:56 dalsasua Status resolved => closed

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker