Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023991Openbravo ERPA. Platformpublic2013-06-05 12:272013-06-20 02:07
AugustoMauch 
AugustoMauch 
urgentmajorhave not tried
closedfixed 
5
 
3.0MP243.0MP24 
shankarb
Core
No
0023991: table_name column of ad_table table should be mandatory
In the Datasource Based Tables project [1] a new type of tables was introduced. This new tables were not based on actual database tables, but on user defined datasources.

At one point durint the project development the table_name column of the ad_table table was set not mandatory, because this field was meant to be left empty for tables based on datasources. Later in the project it was decided to use the column 'name' (the name column of the Table table) to set the 'table_name' column for datasource based tables. This was we avoided having to change the table identifier (table_name).

After this change the table_name column must be mandatory in the database.


[1] http://wiki.openbravo.com/wiki/How_to_Create_a_Table_Based_on_a_User_Defined_Datasource [^]
-
No tags attached.
Issue History
2013-06-05 12:27AugustoMauchNew Issue
2013-06-05 12:27AugustoMauchAssigned To => AugustoMauch
2013-06-05 12:27AugustoMauchModules => Core
2013-06-05 12:27AugustoMauchTriggers an Emergency Pack => No
2013-06-05 12:36AugustoMauchIssue Monitored: shankarb
2013-06-05 12:36AugustoMauchReview Assigned To => shankarb
2013-06-05 12:37hgbotCheckin
2013-06-05 12:37hgbotNote Added: 0059179
2013-06-05 12:37hgbotStatusnew => resolved
2013-06-05 12:37hgbotResolutionopen => fixed
2013-06-05 12:37hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/8c3c8557028deb50bd2101dded64d3d95e0cc47a [^]
2013-06-05 13:16shankarbNote Added: 0059181
2013-06-05 13:16shankarbStatusresolved => closed
2013-06-05 13:16shankarbFixed in Version => 3.0MP24
2013-06-20 02:07hudsonbotCheckin
2013-06-20 02:07hudsonbotNote Added: 0059541

Notes
(0059179)
hgbot   
2013-06-05 12:37   
Repository: erp/devel/pi
Changeset: 8c3c8557028deb50bd2101dded64d3d95e0cc47a
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Jun 05 12:36:15 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8c3c8557028deb50bd2101dded64d3d95e0cc47a [^]

Fixes issue 23991: table_name column of ad_table table is mandatory again

At one point durint the development of the Datasource Based Tables project the table_name column of the ad_table table was set not mandatory, because this field was meant to be left empty for tables based on datasources. Later in the project it was decided to use the column 'name' (the name column of the Table table) to set the 'table_name' column for datasource based tables. This was we avoided having to change the table identifier (table_name).

After this change the table_name column must be mandatory in the database.

---
M src-db/database/model/tables/AD_TABLE.xml
---
(0059181)
shankarb   
2013-06-05 13:16   
Code reviewed and tested in pi changeset 8c3c8557028d
(0059541)
hudsonbot   
2013-06-20 02:07   
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/5caf871044ad [^]

Maturity status: Test