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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012022
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Y. DBSourceManagermajorhave not tried2010-01-20 20:032010-01-23 00:00
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision7c922a69edb5
ProjectionnoneETAnoneTarget Version2.50MP11
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012022: NOT NULL columns are sometimes not correctly taken into account when executing onCreateDefaults

DescriptionNOT NULL columns are sometimes not correctly taken into account when executing onCreateDefaults.
Steps To ReproduceInstall (in Oracle or Postgres) a module which doesn't have the "Is Commercial" attribute defined in the XML file. There will be an error.
Proposed SolutionDBSourcemanager needs to be fixed so that the constraint is correctly disabled before inserting data, and it's enabled only after the on Create Default statement has been executed.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0023691)
hgbot (developer)
2010-01-21 09:46

Repository: erp/devel/pi
Changeset: 7c922a69edb5232b4f78e8786a716312c0d16295
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Jan 21 09:45:42 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/7c922a69edb5232b4f78e8786a716312c0d16295 [^]

Fixed issue 12022 (onCreateDefaults and NOT NULLs will work correctly). Fixed issue 12007 (config scripts will be applied in the correct order).

---
M src-db/database/lib/dbsourcemanager.jar
---
(0023758)
hudsonbot (developer)
2010-01-22 17:05

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/7c922a69edb5 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/ba83bb4d9240 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/obx/core/OpenbravoERP-2.50CI.15962.obx [^]

- Issue History
Date Modified Username Field Change
2010-01-20 20:03 marvintm New Issue
2010-01-20 20:03 marvintm Assigned To => marvintm
2010-01-20 20:03 marvintm Status new => scheduled
2010-01-20 20:03 marvintm fix_in_branch => pi
2010-01-21 09:46 hgbot Checkin
2010-01-21 09:46 hgbot Note Added: 0023691
2010-01-21 09:46 hgbot Status scheduled => resolved
2010-01-21 09:46 hgbot Resolution open => fixed
2010-01-21 09:46 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7c922a69edb5232b4f78e8786a716312c0d16295 [^]
2010-01-22 11:08 alostale Status resolved => closed
2010-01-22 17:05 hudsonbot Checkin
2010-01-22 17:05 hudsonbot Note Added: 0023758
2010-01-23 00:00 anonymous sf_bug_id 0 => 2937527


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker