Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0011425 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | always | 2009-11-19 16:38 | 2009-12-15 04:56 | |||
Reporter | jpabloae | View Status | public | |||||
Assigned To | shuehner | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 2.50MP10 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 8cc92d933061 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_17 | |||
OS Version | Gentoo | Database version | 8.3.8 | Ant version | 1.7.1 | |||
Product Version | pi | SCM revision | 145a7d779743 | |||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0011425: run.all.tests: calculate.instance.revision sets the version to ${hg.id} | |||||||
Description | The run.all.tests ant tasks invokes the calculate.instance.revision task, and it calculates the version incorrectly, setting it to the literal "${hg.id}". This works well in the install.source, it only fails in run.all.tests. Example build output: calculate.instance.version: [echo] Instance version: ${hg.id} [sql] Executing commands [sql] 1 of 1 SQL statements executed successfully Full output: http://builds.openbravo.com/view/devel-int/job/erp_devel_int-full-pgsql/23/consoleFull [^] | |||||||
Steps To Reproduce | ant install.source run.all.tests | |||||||
Proposed Solution | There is no need to run calculate.instance.version in run.all.tests. It is apparently triggered by the compileSqlc task. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0022028) jpabloae (viewer) 2009-11-19 16:39 |
This is preventing the live Openbravo ERP test builds fom being usables, because the about box shows "${hg.id}" instead of the real revision, so you don't know what you're testing. |
(0022176) jpabloae (viewer) 2009-11-25 19:50 |
There's a missing dependdency on "init" in the main build.xml |
(0022623) hgbot (developer) 2009-12-10 12:21 |
Repository: erp/devel/pi Changeset: 8cc92d93306125e2ade1aa0988af16a71764efcd Author: Stefan Hühner <stefan.huehner <at> openbravo.com> Date: Thu Dec 10 12:21:17 2009 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/8cc92d93306125e2ade1aa0988af16a71764efcd [^] Fixed 11425: fix instance calculation in run.*.tests targets --- M build.xml --- |
(0022643) mtaal (viewer) 2009-12-10 15:02 |
Tested and works fine now |
(0022779) hudsonbot (viewer) 2009-12-15 04:56 |
--- A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated: Changeset: http://code.openbravo.com/erp/devel/main/rev/e7ad8a48210d [^] Tests: http://builds.openbravo.com/view/devel-int/ [^] OBX: http://builds.openbravo.com/erp/obx/core/OpenbravoERP-2.50CI.15705.obx [^] --- |
![]() |
|||
Date Modified | Username | Field | Change |
2009-11-19 16:38 | jpabloae | New Issue | |
2009-11-19 16:38 | jpabloae | Assigned To | => rafaroda |
2009-11-19 16:38 | jpabloae | OBNetwork customer | => No |
2009-11-19 16:39 | jpabloae | Note Added: 0022028 | |
2009-11-25 19:50 | jpabloae | Assigned To | rafaroda => shuehner |
2009-11-25 19:50 | jpabloae | Note Added: 0022176 | |
2009-12-10 12:21 | hgbot | Checkin | |
2009-12-10 12:21 | hgbot | Note Added: 0022623 | |
2009-12-10 12:21 | hgbot | Status | new => resolved |
2009-12-10 12:21 | hgbot | Resolution | open => fixed |
2009-12-10 12:21 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/8cc92d93306125e2ade1aa0988af16a71764efcd [^] |
2009-12-10 15:02 | mtaal | Note Added: 0022643 | |
2009-12-10 15:02 | mtaal | Status | resolved => closed |
2009-12-10 15:02 | mtaal | Fixed in Version | => 2.50MP10 |
2009-12-11 00:00 | anonymous | sf_bug_id | 0 => 2912315 |
2009-12-15 04:56 | hudsonbot | Checkin | |
2009-12-15 04:56 | hudsonbot | Note Added: 0022779 |
Copyright © 2000 - 2009 MantisBT Group |