Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0015900 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Openbravo ERP] A. Platform | major | have not tried | 2011-02-09 14:15 | 2011-05-24 10:56 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | shuehner | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | d98f5745a830 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0015900: ModelProvider.getTables() should return tables usable via dal/ModelProvider (and not all tables) | |||||||
Description | Most 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 Solution | Change 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. | |||||||
Tags | closingMay2011 | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0034101) hgbot (developer) 2011-02-09 15:12 |
Repository: erp/devel/pi Changeset: d98f5745a83031ee6f841afa2810c2b96182b5c6 Author: Stefan Hühner <stefan.huehner <at> openbravo.com> Date: Wed Feb 09 15:12:04 2011 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/d98f5745a83031ee6f841afa2810c2b96182b5c6 [^] 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/ModelProvider.java --- |
![]() |
|||
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 14:15 | shuehner | OBNetwork customer | => No |
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 | => http://code.openbravo.com/erp/devel/pi/rev/d98f5745a83031ee6f841afa2810c2b96182b5c6 [^] |
2011-05-24 10:08 | dalsasua | Tag Attached: closingMay2011 | |
2011-05-24 10:56 | dalsasua | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |