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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0005039
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Y. DBSourceManagermajoralways2008-09-12 13:392009-03-18 11:02
ReporterpsarobeView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision121
ProjectionnoneETAnoneTarget Version
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

0005039: Upgrader MP4-MP5- Some contrainst missed after the running the upgrader

DescriptionThe problem arises when you import a language in MP4 different than Spanish language and in some trl tables the parent is missed so PostgreSQL remove those contraints.

The cause of the problem is that when a record is removed from AD_ELEMENT, for example, its child it is not removed.

The tables that we have found this are: AD_ELEMEN, AD_PROCESS_PARA, AD_TEXTINTERFACES

For the AD_TEXTINTERFACES table there is a collateral problem due to this. If you add custom code in srcClient just before running the upgrade and this code has new labels, when launching the translate process it will insert in table AD_TEXTINTERFACES new entries but it will crash. SEE ATTACH for this

These are the constraints:

Table AD_ELEMENT_TRL. Referential integrity with its parent (AD_ELEMENT_ID)
Table AD_PROCESS_PARA_TRL. Referential integrity with its parent (AD_PROCESS_PARA_ID)
Table AD_TEXTINTERFACES_TRL. Referential integrity with its parent (AD_TEXTINTERFACES_ID)

Steps To Reproducehttp://wiki.openbravo.com/wiki/Upgraders_Testing [^]

Tagsdbsm_migrate
Attached Fileslog file icon 03build.log [^] (458,934 bytes) 2008-09-12 13:39

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0009016)
svnbot (reporter)
2008-09-15 10:42

Repository: dbsourcemanager
Revision: 121
Author: marvintm
Date: 2008-09-15 10:42:44 +0200 (Mon, 15 Sep 2008)

Fixed bug 5039. Now rows that invalidate an ON DELETE CASCADE foreign key will be deleted while updating the database.

---
U branches/r0.7x/src/org/apache/ddlutils/Platform.java
U branches/r0.7x/src/org/apache/ddlutils/platform/PlatformImplBase.java
U branches/r0.7x/src/org/openbravo/ddlutils/task/AlterCustomizedDatabaseData.java
U branches/r0.7x/src/org/openbravo/ddlutils/task/AlterDatabase.java
---

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

- Issue History
Date Modified Username Field Change
2008-09-12 13:39 psarobe New Issue
2008-09-12 13:39 psarobe Assigned To => marvintm
2008-09-12 13:39 psarobe File Added: 03build.log
2008-09-12 19:14 psarobe Status new => scheduled
2008-09-12 19:14 psarobe fix_in_branch => trunk
2008-09-15 10:42 svnbot Checkin
2008-09-15 10:42 svnbot Note Added: 0009016
2008-09-15 10:42 svnbot Status scheduled => resolved
2008-09-15 10:42 svnbot Resolution open => fixed
2008-09-15 10:42 svnbot svn_revision => 121
2008-10-07 11:33 psarobe Status resolved => closed
2008-12-18 12:39 jpabloae Tag Attached: dbsm_migrate
2008-12-18 12:41 jpabloae Project @4@ => Openbravo ERP
2008-12-18 12:41 jpabloae Category => Y. DBSourceManager
2009-03-18 11:02 anonymous sf_bug_id 0 => 2691352


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker