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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0006614
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2008-12-17 14:332009-04-21 11:09
ReporterjpabloaeView Statuspublic 
Assigned Toiperdomo 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision11631
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabaseOracleJava version1.6.0_11
OS VersionGentoo - 2.6.26Database version10.2.0.4Ant version1.7.0
Product VersionpiSCM revision11291 
Merge Request Status
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0006614: create.database error in constraint

DescriptionThere is an error when creating the database using Oracle:

create.database.structure:
[createdatabase] Database connection: jdbc:oracle:thin:@localhost:1521:ob14. User: TAD_TRUNK
[createdatabase] Executing default prescript
[createdatabase] Executed 7 SQL command(s) with 0 error(s)
[createdatabase] Executing creation script
[createdatabase] for the complete database
[createdatabase] SQL Command failed with: ORA-02264: name already used by an existing constraint
[createdatabase]
[createdatabase] -- END
[createdatabase] ALTER TABLE AD_FIELD
[createdatabase] ADD CONSTRAINT ADMODULE_ADFIELD FOREIGN KEY (AD_MODULE_ID) REFERENCES AD_MODULE (AD_MODULE_ID)
[createdatabase] Executed 4703 SQL command(s) with 1 error(s)
[createdatabase] Executing default postscript
[createdatabase] Executed 13 SQL command(s) with 0 error(s)
Steps To Reproduce1. check out trunk, r11291.
2. configure it using the setup-tools.
3. ant install.source
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0011795)
iciordia (viewer)
2008-12-31 14:16

Testing in revision 11625 the bug is not present any more
(0011842)
jpabloae (viewer)
2009-01-02 11:34

This is still reproducible in trunk r11630. Please make sure you're not falling into issue 0006766
(0011845)
iciordia (viewer)
2009-01-02 11:55

Juan Pablo,

you are right, I had experiencing issue 6766, sorry for inconvenience.

The root cause of the problem is that table AD_EXCEPTIONS is declaring a constraint named ADMODULE_ADFIELD. It can be solved by renaming it to ADMODULE_ADEXCEPTIONS.

Ismael
(0011846)
svnbot (viewer)
2009-01-02 11:59

Repository: openbravo
Revision: 11631
Author: iperdomo
Date: 2009-01-02 11:59:42 +0100 (Fri, 02 Jan 2009)

Fixes issue 6614: Renamed constraint from ADMODULE_ADFIELD to ADMODULE_ADEXCEPTIONS

---
U trunk/src-db/database/model/tables/AD_EXCEPTIONS.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=11631&sc=1 [^]

- Issue History
Date Modified Username Field Change
2008-12-17 14:33 jpabloae New Issue
2008-12-17 14:33 jpabloae Assigned To => rafaroda
2008-12-17 14:33 jpabloae sf_bug_id 0 => 2440110
2008-12-17 14:33 jpabloae OBNetwork customer => No
2008-12-17 14:33 jpabloae Regression testing => No
2008-12-18 17:08 rafaroda Status new => scheduled
2008-12-18 17:08 rafaroda Assigned To rafaroda => gorka_gil
2008-12-18 17:08 rafaroda fix_in_branch => trunk
2008-12-19 12:35 gorka_gil Assigned To gorka_gil => marvintm
2008-12-31 13:55 iciordia Assigned To marvintm => iciordia
2008-12-31 14:16 iciordia Status scheduled => closed
2008-12-31 14:16 iciordia Note Added: 0011795
2008-12-31 14:16 iciordia Resolution open => out of date
2009-01-02 11:34 jpabloae Status closed => new
2009-01-02 11:34 jpabloae Resolution out of date => open
2009-01-02 11:34 jpabloae Note Added: 0011842
2009-01-02 11:55 iciordia Note Added: 0011845
2009-01-02 11:55 iciordia Assigned To iciordia => jpabloae
2009-01-02 11:55 iciordia Assigned To jpabloae => iperdomo
2009-01-02 11:57 iperdomo Status new => scheduled
2009-01-02 11:59 svnbot Checkin
2009-01-02 11:59 svnbot Note Added: 0011846
2009-01-02 11:59 svnbot Status scheduled => resolved
2009-01-02 11:59 svnbot Resolution open => fixed
2009-01-02 11:59 svnbot svn_revision => 11631
2009-04-21 11:09 psarobe Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker