Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0025855 | Openbravo ERP | A. Platform | public | 2014-02-27 10:41 | 2014-03-11 17:04 |
|
Reporter | egoitz | |
Assigned To | shankarb | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR14Q2 | Fixed in Version | 3.0PR14Q2 | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 26847 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0025855: Problem on Building runtime model when the tablename starts with pg |
Description | When createing new tables, if the table starts with 'pg' the taks Building runtime model (executed when starting tomcat or generate.entities) shows warnings as following:
[java] 9787 [main] WARN org.openbravo.base.model.ModelProvider - Column PGtablename.column mandatory setting not found in the database metadata. A cause can be that the column does not exist in the database schema
|
Steps To Reproduce | -Create a new table with name pgtest_name
-Add teh mandatory column and a name
-Define the table on the application dictionary.
-Compile
* YOu get errors as following:
[java] 9787 [main] WARN org.openbravo.base.model.ModelProvider - Column pgtest_name.id mandatory setting not found in the database metadata. A cause can be that the column does not exist in the database schema
[java] 9787 [main] WARN org.openbravo.base.model.ModelProvider - Column pgtest_name.client mandatory setting not found in the database metadata. A cause can be that the column does not exist in the database schema |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | solve25855.diff (1,797) 2014-02-27 10:42 https://issues.openbravo.com/file_download.php?file_id=6723&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2014-02-27 10:41 | egoitz | New Issue | |
2014-02-27 10:41 | egoitz | Assigned To | => AugustoMauch |
2014-02-27 10:41 | egoitz | Modules | => Core |
2014-02-27 10:41 | egoitz | OBNetwork customer | => Yes |
2014-02-27 10:41 | egoitz | Support ticket | => 26847 |
2014-02-27 10:41 | egoitz | Resolution time | => 1363734000 |
2014-02-27 10:41 | egoitz | Triggers an Emergency Pack | => No |
2014-02-27 10:42 | egoitz | File Added: solve25855.diff | |
2014-02-27 10:42 | egoitz | Note Added: 0064644 | |
2014-03-05 13:03 | alostale | Target Version | => PR14Q2 |
2014-03-10 06:13 | shankarb | Assigned To | AugustoMauch => shankarb |
2014-03-10 10:16 | shankarb | Review Assigned To | => alostale |
2014-03-10 10:16 | shankarb | Issue Monitored: alostale | |
2014-03-10 10:18 | hgbot | Checkin | |
2014-03-10 10:18 | hgbot | Note Added: 0064976 | |
2014-03-10 10:19 | hgbot | Status | new => resolved |
2014-03-10 10:19 | hgbot | Resolution | open => fixed |
2014-03-10 10:19 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/396b7943dbbeda1b4812e7496e2429cf169cc54d [^] |
2014-03-10 22:58 | hudsonbot | Checkin | |
2014-03-10 22:58 | hudsonbot | Note Added: 0065003 | |
2014-03-11 07:56 | alostale | Note Added: 0065013 | |
2014-03-11 07:57 | alostale | Status | resolved => closed |
2014-03-11 07:57 | alostale | Fixed in Version | => PR14Q2 |
2014-03-11 08:57 | hgbot | Checkin | |
2014-03-11 08:57 | hgbot | Note Added: 0065014 | |
2014-03-11 17:04 | hudsonbot | Checkin | |
2014-03-11 17:04 | hudsonbot | Note Added: 0065054 | |
Notes |
|
(0064644)
|
egoitz
|
2014-02-27 10:42
|
|
possible solution attached |
|
|
(0064976)
|
hgbot
|
2014-03-10 10:18
|
|
Repository: erp/devel/pi
Changeset: 396b7943dbbeda1b4812e7496e2429cf169cc54d
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Mon Mar 10 14:45:53 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/396b7943dbbeda1b4812e7496e2429cf169cc54d [^]
Fixes Issue 0025855: Problem on Building runtime model when the tablename starts with pg
Remove where clause that was excluding tables starting with pg and sql.
---
M src/org/openbravo/base/session/SessionFactoryController.java
---
|
|
|
|
|
|
|
Code reviewed and tested: now when building runtime model and checking for mandatory columns no restriction is done base on table name. This makes the map of tables to check mandatories a little bit bigger just while loading. No performance side effect was found. |
|
|
(0065014)
|
hgbot
|
2014-03-11 08:57
|
|
|
|
|
|