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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0008127
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2009-03-13 22:032009-03-18 11:03
ReporterjpabloaeView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionduplicateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version1.6.0_11
OS VersionGentoo - 2.6.26Database version8.3.5Ant version1.7.0
Product Version2.40MP3SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0008127: Problems updating from 2.40 to 2.40MP3 with 8 languages in DB

DescriptionWe have a 2.40 database with 8 imported languages: English, Bulgarian, French, Italian, Spanish, Romanian, Polish, Portuguese. There are no more customizations, neither in database nor in sources.

When upgrading to 2.40MP3 there are 2 issues:

1) After running the update.customized.database task, although the process end with a "BUILD SUCCESSFUL" message there are some previous error. I don't know if they are relevant, but there are errors like:

[altercustomizeddatabasedata] SQL Command failed with: ERROR: cannot change number of columns in view
[altercustomizeddatabasedata] Executed 1 forced SQL command(s) with 1 error(s)

Full log attached (update.customized.database_2.40-2.40mp3.log.gz). See lines 278-289 and 450-460.

2) After updating the database, the "ant compile.complete" task fails with an error:

    [javac] Compiling 909 source files to /home/jpabloae/tmp/r2.40mp3/build/classes
    [javac] /home/jpabloae/tmp/r2.40mp3/srcAD/org/openbravo/erpWindows/EmployeeExpenses/Lines.java:434: cannot find symbol
    [javac] symbol : class LinesData
    [javac] location: class org.openbravo.erpWindows.EmployeeExpenses.Lines
    [javac] LinesData getEditVariables(Connection con, VariablesSecureApp vars, String strPC_BPartner_ID) throws IOException,ServletException {
    [javac] ^
    [javac] /home/jpabloae/tmp/r2.40mp3/srcAD/org/openbravo/erpWindows/EmployeeExpenses/Lines.java:453: cannot find symbol

This is clean installation (plus 7 languages), so it probably has to do with the database update.

Full log attached (core.wad.trl.complete.war-2.40mp3.log.gz).
Steps To Reproduce1. Check out the 2.40 tag and run "ant install.source".
2. Import the 7 additional languages. As this is not an immediate task, send me an e-mail an I'll provide you a PostgreSQL dump file if needed.
3. Check out the 2.40MP3 tag and run the setup tool to point to the 2.40 database.
4. Copy tags/r2.40/src-db/database into tags/r2.40mp3/src-db/originalDatabase.
5. Run "ant update.customized.database". You'll get a successful message but some errors are shown.
6. Run "ant core.lib wad.lib trl.lib compile.complete". The compilation fails.
TagsNo tags attached.
Attached Filesgz file icon core.wad.trl.complete.war-2.40mp3.log.gz [^] (23,723 bytes) 2009-03-13 22:03
gz file icon update.customized.database_2.40-2.40mp3.log.gz [^] (3,519 bytes) 2009-03-13 22:04

- Relationships Relation Graph ] Dependency Graph ]
duplicate of backport 0007256 closedmarvintm update.database fails on postgres from r11171 .. >= 11171 (i.e. current 11997) 

-  Notes
(0014699)
marvintm (developer)
2009-03-16 17:14

This was a duplicate of issue 7256. It should be fixed now.

- Issue History
Date Modified Username Field Change
2009-03-13 22:03 jpabloae New Issue
2009-03-13 22:03 jpabloae Assigned To => rafaroda
2009-03-13 22:03 jpabloae File Added: core.wad.trl.complete.war-2.40mp3.log.gz
2009-03-13 22:03 jpabloae Regression testing => No
2009-03-13 22:04 jpabloae File Added: update.customized.database_2.40-2.40mp3.log.gz
2009-03-13 22:04 jpabloae version => 2.40MP3
2009-03-13 22:04 jpabloae Assigned To rafaroda => marvintm
2009-03-13 22:06 jpabloae Description Updated
2009-03-13 22:07 jpabloae Description Updated
2009-03-13 22:08 jpabloae Proposed Solution updated
2009-03-13 22:09 jpabloae Description Updated
2009-03-16 17:14 marvintm Relationship added duplicate of 0007256
2009-03-16 17:14 marvintm Status new => closed
2009-03-16 17:14 marvintm Note Added: 0014699
2009-03-16 17:14 marvintm Duplicate ID 0 => 7256
2009-03-16 17:14 marvintm Resolution open => duplicate
2009-03-18 11:03 anonymous sf_bug_id 0 => 2691473


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker