Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012022Openbravo ERPY. DBSourceManagerpublic2010-01-20 20:032010-01-23 00:00
marvintm 
marvintm 
immediatemajorhave not tried
closedfixed 
5
 
2.50MP11 
Core
No
0012022: NOT NULL columns are sometimes not correctly taken into account when executing onCreateDefaults
NOT NULL columns are sometimes not correctly taken into account when executing onCreateDefaults.
Install (in Oracle or Postgres) a module which doesn't have the "Is Commercial" attribute defined in the XML file. There will be an error.
DBSourcemanager 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.
No tags attached.
Issue History
2010-01-20 20:03marvintmNew Issue
2010-01-20 20:03marvintmAssigned To => marvintm
2010-01-20 20:03marvintmStatusnew => scheduled
2010-01-20 20:03marvintmfix_in_branch => pi
2010-01-21 09:46hgbotCheckin
2010-01-21 09:46hgbotNote Added: 0023691
2010-01-21 09:46hgbotStatusscheduled => resolved
2010-01-21 09:46hgbotResolutionopen => fixed
2010-01-21 09:46hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7c922a69edb5232b4f78e8786a716312c0d16295 [^]
2010-01-22 11:08alostaleStatusresolved => closed
2010-01-22 17:05hudsonbotCheckin
2010-01-22 17:05hudsonbotNote Added: 0023758
2010-01-23 00:00anonymoussf_bug_id0 => 2937527

Notes
(0023691)
hgbot   
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   
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 [^]