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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0025855
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2014-02-27 10:412014-03-11 17:04
ReporteregoitzView Statuspublic 
Assigned Toshankarb 
PriorityurgentResolutionfixedFixed in Version3.0PR14Q2
StatusclosedFix in branchFixed in SCM revision396b7943dbbe
ProjectionnoneETAnoneTarget Version3.0PR14Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0025855: Problem on Building runtime model when the tablename starts with pg

DescriptionWhen 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
TagsNo tags attached.
Attached Filesdiff file icon solve25855.diff [^] (1,797 bytes) 2014-02-27 10:42 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0064644)
egoitz (developer)
2014-02-27 10:42

possible solution attached
(0064976)
hgbot (developer)
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
---
(0065003)
hudsonbot (developer)
2014-03-10 22:58

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/b362f74ef31a [^]
Maturity status: Test
(0065013)
alostale (manager)
2014-03-11 07:56

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 (developer)
2014-03-11 08:57

Repository: erp/devel/pi
Changeset: 6a7661e4b04c1e0f68e8389d6033ba53f1dd35a8
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Tue Mar 11 13:26:49 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/6a7661e4b04c1e0f68e8389d6033ba53f1dd35a8 [^]

Related to Issue 25855 : Updated copyright year

---
M src/org/openbravo/base/session/SessionFactoryController.java
---
(0065054)
hudsonbot (developer)
2014-03-11 17:04

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/0d35a09c7eb8 [^]
Maturity status: Test

- 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 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker