Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0019140 | Openbravo ERP | A. Platform | public | 2011-11-22 16:05 | 2011-11-30 12:30 |
Reporter | roklenardic | ||||
Assigned To | marvintm | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | 3.0MP5.1 | ||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | OBPS | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0019140: update.database does not work on a fresh sources folder | ||||
Description | One should be able to do an update/upgrade in the following way: # rename existing OpenbravoERP sources (let's say 3.0MP3) folder to OpenbravoERP-old # clone MP5.1 sources into a new OpenbravoERP folder # copy config files and custom modules from OpenbravoERP-old to OpenbravoERP folder # run ant core.lib wad.lib trl.lib # run ant update.database -Dforce=yes # run compile.complete However, it fails on step 4, the update database fails because it's looking for some HeartBeatData and AlertData classes that have not been compiled yet. It fails on apply.modules step: [javac] Compiling 1 source file to /DEVELOP/openbravo/deployment3/build.apply/classes [javac] /DEVELOP/openbravo/deployment3/src/org/openbravo/erpCommon/ad_process/HeartbeatProcess.java:56: cannot find symbol [javac] symbol : class HeartbeatData [javac] location: package org.openbravo.erpCommon.businessUtility [javac] import org.openbravo.erpCommon.businessUtility.HeartbeatData; [javac] ^ [javac] /DEVELOP/openbravo/deployment3/src/org/openbravo/erpCommon/ad_process/HeartbeatProcess.java:57: cannot find symbol [javac] symbol : class RegistrationData [javac] location: package org.openbravo.erpCommon.businessUtility [javac] import org.openbravo.erpCommon.businessUtility.RegistrationData; [javac] ^ [javac] /DEVELOP/openbravo/deployment3/src/org/openbravo/erpCommon/ad_process/HeartbeatProcess.java:714: cannot find symbol [javac] symbol : class HeartbeatData [javac] location: class org.openbravo.erpCommon.ad_process.HeartbeatProcess [javac] final HeartbeatData[] hbData = HeartbeatData.selectSystemProperties(connectionProvider); [javac] ^ [javac] /DEVELOP/openbravo/deployment3/src/org/openbravo/erpCommon/ad_process/HeartbeatProcess.java:714: cannot find symbol [javac] symbol : variable HeartbeatData [javac] location: class org.openbravo.erpCommon.ad_process.HeartbeatProcess [javac] final HeartbeatData[] hbData = HeartbeatData.selectSystemProperties(connectionProvider); [javac] ^ [javac] /DEVELOP/openbravo/deployment3/src/org/openbravo/erpCommon/ad_process/HeartbeatProcess.java:739: cannot find symbol [javac] symbol : class RegistrationData [javac] location: class org.openbravo.erpCommon.ad_process.HeartbeatProcess [javac] final RegistrationData[] rData = RegistrationData.select(connectionProvider); [javac] ^ [javac] /DEVELOP/openbravo/deployment3/src/org/openbravo/erpCommon/ad_process/HeartbeatProcess.java:739: cannot find symbol [javac] symbol : variable RegistrationData [javac] location: class org.openbravo.erpCommon.ad_process.HeartbeatProcess [javac] final RegistrationData[] rData = RegistrationData.select(connectionProvider); [javac] ^ [javac] /DEVELOP/openbravo/deployment3/src/org/openbravo/erpCommon/utility/Alert.java:77: cannot find symbol [javac] symbol : class AlertData [javac] location: class org.openbravo.erpCommon.utility.Alert [javac] AlertData[] data = null; [javac] ^ [javac] /DEVELOP/openbravo/deployment3/src/org/openbravo/erpCommon/utility/Alert.java:79: cannot find symbol [javac] symbol : variable AlertData [javac] location: class org.openbravo.erpCommon.utility.Alert [javac] data = AlertData.select(conn, String.valueOf(alertRuleId), recordId); [javac] ^ [javac] /DEVELOP/openbravo/deployment3/src/org/openbravo/erpCommon/utility/Alert.java:81: cannot find symbol [javac] symbol : variable AlertData [javac] location: class org.openbravo.erpCommon.utility.Alert [javac] data = AlertData.selectByDescription(conn, String.valueOf(alertRuleId), description); [javac] ^ [javac] /DEVELOP/openbravo/deployment3/src/org/openbravo/erpCommon/utility/Alert.java:84: cannot find symbol [javac] symbol : variable AlertData [javac] location: class org.openbravo.erpCommon.utility.Alert [javac] AlertData.insert(conn, description, String.valueOf(alertRuleId), recordId, referencekeyId); [javac] ^ [javac] 10 errors BUILD FAILED /DEVELOP/openbravo/deployment3/build.xml:715: The following error occurred while executing this line: /DEVELOP/openbravo/deployment3/build.xml:785: The following error occurred while executing this line: /DEVELOP/openbravo/deployment3/src/build.xml:175: Compile failed; see the compiler error output for details. | ||||
Steps To Reproduce | See above | ||||
Proposed Solution | the update.database task should compile any classes deemed necessary for its operation if they are not present yet. | ||||
Additional Information | |||||
Tags | Regression | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=4773&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2011-11-22 16:05 | roklenardic | New Issue | |||
2011-11-22 16:05 | roklenardic | Assigned To | => marvintm | ||
2011-11-22 16:05 | roklenardic | Modules | => Core | ||
2011-11-22 16:05 | roklenardic | OBNetwork customer | => Yes | ||
2011-11-22 16:08 | roklenardic | Note Added: 0043078 | |||
2011-11-22 17:12 | shuehner | Note Added: 0043082 | |||
2011-11-22 17:12 | shuehner | Status | new => feedback | ||
2011-11-22 20:29 | roklenardic | File Added: update.database.log.zip | |||
2011-11-22 20:29 | roklenardic | Note Added: 0043099 | |||
2011-11-24 09:35 | shuehner | Note Added: 0043137 | |||
2011-11-24 09:35 | shuehner | Status | feedback => new | ||
2011-11-24 14:23 | shuehner | Note Added: 0043164 | |||
2011-11-24 16:52 | shuehner | Tag Attached: Regression | |||
2011-11-24 16:52 | hgbot | Checkin | |||
2011-11-24 16:52 | hgbot | Note Added: 0043187 | |||
2011-11-24 16:52 | hgbot | Status | new => resolved | ||
2011-11-24 16:52 | hgbot | Resolution | open => fixed | ||
2011-11-24 16:52 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/df9e03f9dfeaf533b11b620b69d9c403c28aa020 [^] | ||
2011-11-24 16:57 | shuehner | Note Added: 0043188 | |||
2011-11-24 18:00 | alostale | Note Added: 0043191 | |||
2011-11-24 18:00 | alostale | Status | resolved => closed | ||
2011-11-30 12:30 | hudsonbot | Checkin | |||
2011-11-30 12:30 | hudsonbot | Note Added: 0043440 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|