Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0009931 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2009-07-16 14:13 | 2009-10-17 00:00 | |||
Reporter | roklenardic | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | pi | |||
Status | closed | Fix in branch | Fixed in SCM revision | 20ae1dcf15c0 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_12 | |||
OS Version | Ubuntu 9.04 | Database version | 8.3.7 | Ant version | 1.7.1 | |||
Product Version | 2.50MP2 | SCM revision | ||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0009931: ant apply.modules fails on fresh installation | |||||||
Description | taking a fresh installation, checking out code of a module and then trying to install the module from the commandline using the ant apply.modules fails: [root@x.x.x.x AppsOpenbravo]# ant apply.modules -Dmodule=org.openbravo.howto.roles Buildfile: build.xml apply.modules: [echo] Applying org.openbravo.howto.roles modules... init: set.code.rev: code.rev: update.database.mod: init: database.lib: init: compile: build.jar: [jar] Building jar: /opt/AppsOpenbravo/src-db/build/lib/dbmanager.jar jar: [copy] Copying 1 file to /opt/AppsOpenbravo/src-db/database/lib init: core.lib: init: compile: [javac] Compiling 17 source files to /opt/AppsOpenbravo/src-core/build/classes build.jar: [jar] Building jar: /opt/AppsOpenbravo/src-core/lib/openbravo-core.jar build: copy.core.lib: [copy] Copying 1 file to /opt/AppsOpenbravo/lib/runtime update.database.mod: Initializing in-memory model... Building runtime model Model read in-memory, generating mapping... Dal layer initialized Database connection: jdbc:postgresql://localhost:5432/openbravo. [^] User: tad [alterdatabasedatamod] Checking if database structure was modified locally. [alterdatabasedatamod] Checking if data has changed in the application dictionary. Database has local changes. Update.database will not be done. If you want to force the update.database, do: ant update.database -Dforce=yes (you will lose all your changes if you do it) BUILD FAILED /opt/AppsOpenbravo/build.xml:625: The following error occurred while executing this line: /opt/AppsOpenbravo/build.xml:546: The following error occurred while executing this line: /opt/AppsOpenbravo/src-db/database/build.xml:132: Database has local changes. Update.database not done. Total time: 56 seconds Apparently, ant apply.module wrongly signals that database has changed on a new installation. | |||||||
Tags | Modularity | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0020610) hgbot (developer) 2009-09-30 21:15 |
Repository: erp/devel/pi Changeset: b973ad5fecad92e6cf5fe0d3e40ae0bc8b989deb Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Wed Sep 30 21:15:09 2009 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/b973ad5fecad92e6cf5fe0d3e40ae0bc8b989deb [^] Fixed issue 9931. Apply.modules (or update.database) should no longer fail on fresh installations, or installations in which modules have been installed in a normal way. --- M src-db/database/build.xml M src-db/database/model/prescript-PostgreSql.sql --- |
(0020628) hgbot (developer) 2009-10-01 14:31 |
Repository: erp/devel/pi Changeset: 403a1e7e20766d286901eb6b195c0a5de7512058 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Thu Oct 01 14:31:38 2009 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/403a1e7e20766d286901eb6b195c0a5de7512058 [^] issue 0009931: Take into account function overload when calcualting crc in PG --- M src-db/database/model/prescript-PostgreSql.sql --- |
(0020629) hgbot (developer) 2009-10-01 17:49 |
Repository: erp/devel/pi Changeset: 53daaf521b160eb182fe6cf609e28d88e6f1722d Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Thu Oct 01 17:48:51 2009 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/53daaf521b160eb182fe6cf609e28d88e6f1722d [^] issue 0009931: dateformat function changes in PG: do not check in the crc --- M src-db/database/model/prescript-PostgreSql.sql --- |
(0020654) hgbot (developer) 2009-10-02 09:52 |
Repository: erp/devel/pi Changeset: 3f8c8da867b822cd22a1a2ef12ab31a2fec7a652 Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Fri Oct 02 09:52:29 2009 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/3f8c8da867b822cd22a1a2ef12ab31a2fec7a652 [^] Related to issue 9931. CRC will be updated on create.database (and install.source) --- M src-db/database/build-create.xml M src-db/database/model/prescript-Oracle.sql M src-db/database/model/prescript-PostgreSql.sql --- |
(0020656) hgbot (developer) 2009-10-02 11:23 |
Repository: erp/devel/pi Changeset: 8381ede4fb948090b19c8fa8c2c9e3d2b17eabed Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Fri Oct 02 11:22:58 2009 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/8381ede4fb948090b19c8fa8c2c9e3d2b17eabed [^] Related to issue 9931. CRC will also be updated on update.database.mod --- M src-db/database/lib/dbsourcemanager.jar --- |
(0020660) hgbot (developer) 2009-10-02 12:10 |
Repository: erp/devel/pi Changeset: 20ae1dcf15c0b815a58085b488d7c826caccd870 Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Fri Oct 02 12:10:34 2009 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/20ae1dcf15c0b815a58085b488d7c826caccd870 [^] Related to issue 9931. Fixed typo on build.create. --- M src-db/database/build-create.xml --- |
(0021095) iperdomo (reporter) 2009-10-16 10:08 |
Checked on pi @ rev 419cc2bd51fa |
(0021096) iperdomo (reporter) 2009-10-16 10:29 |
The issue solved was the CRC calculation. But trying to install a module in command line using apply.modules fails. Logged a new issue and added relation. |
Issue History | |||
Date Modified | Username | Field | Change |
2009-07-16 14:13 | roklenardic | New Issue | |
2009-07-16 14:13 | roklenardic | Assigned To | => marvintm |
2009-07-21 00:02 | psarobe | Tag Attached: Modularity | |
2009-07-21 00:03 | psarobe | Assigned To | marvintm => alostale |
2009-07-21 00:03 | psarobe | Priority | normal => urgent |
2009-07-21 00:03 | psarobe | Severity | minor => major |
2009-07-21 00:03 | psarobe | Status | new => scheduled |
2009-09-30 20:03 | shuehner | Assigned To | alostale => marvintm |
2009-09-30 21:15 | hgbot | Checkin | |
2009-09-30 21:15 | hgbot | Note Added: 0020610 | |
2009-09-30 21:15 | hgbot | Status | scheduled => resolved |
2009-09-30 21:15 | hgbot | Resolution | open => fixed |
2009-09-30 21:15 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/b973ad5fecad92e6cf5fe0d3e40ae0bc8b989deb [^] |
2009-10-01 14:31 | hgbot | Checkin | |
2009-10-01 14:31 | hgbot | Note Added: 0020628 | |
2009-10-01 14:31 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/b973ad5fecad92e6cf5fe0d3e40ae0bc8b989deb [^] => http://code.openbravo.com/erp/devel/pi/rev/403a1e7e20766d286901eb6b195c0a5de7512058 [^] |
2009-10-01 17:49 | hgbot | Checkin | |
2009-10-01 17:49 | hgbot | Note Added: 0020629 | |
2009-10-01 17:49 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/403a1e7e20766d286901eb6b195c0a5de7512058 [^] => http://code.openbravo.com/erp/devel/pi/rev/53daaf521b160eb182fe6cf609e28d88e6f1722d [^] |
2009-10-02 09:52 | hgbot | Checkin | |
2009-10-02 09:52 | hgbot | Note Added: 0020654 | |
2009-10-02 09:52 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/53daaf521b160eb182fe6cf609e28d88e6f1722d [^] => http://code.openbravo.com/erp/devel/pi/rev/3f8c8da867b822cd22a1a2ef12ab31a2fec7a652 [^] |
2009-10-02 11:23 | hgbot | Checkin | |
2009-10-02 11:23 | hgbot | Note Added: 0020656 | |
2009-10-02 11:23 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/3f8c8da867b822cd22a1a2ef12ab31a2fec7a652 [^] => http://code.openbravo.com/erp/devel/pi/rev/8381ede4fb948090b19c8fa8c2c9e3d2b17eabed [^] |
2009-10-02 12:10 | hgbot | Checkin | |
2009-10-02 12:10 | hgbot | Note Added: 0020660 | |
2009-10-02 12:10 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/8381ede4fb948090b19c8fa8c2c9e3d2b17eabed [^] => http://code.openbravo.com/erp/devel/pi/rev/20ae1dcf15c0b815a58085b488d7c826caccd870 [^] |
2009-10-16 10:08 | iperdomo | Status | resolved => closed |
2009-10-16 10:08 | iperdomo | Note Added: 0021095 | |
2009-10-16 10:08 | iperdomo | Fixed in Version | => pi |
2009-10-16 10:27 | iperdomo | Relationship added | related to 0011007 |
2009-10-16 10:29 | iperdomo | Note Added: 0021096 | |
2009-10-17 00:00 | anonymous | sf_bug_id | 0 => 2880774 |
Copyright © 2000 - 2009 MantisBT Group |