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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011425
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2009-11-19 16:382009-12-15 04:56
ReporterjpabloaeView Statuspublic 
Assigned Toshuehner 
PriorityurgentResolutionfixedFixed in Version2.50MP10
StatusclosedFix in branchFixed in SCM revision8cc92d933061
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_17
OS VersionGentooDatabase version8.3.8Ant version1.7.1
Product VersionpiSCM revision145a7d779743 
Merge Request Status
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0011425: run.all.tests: calculate.instance.revision sets the version to ${hg.id}

DescriptionThe 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 Reproduceant install.source run.all.tests
Proposed SolutionThere is no need to run calculate.instance.version in run.all.tests. It is apparently triggered by the compileSqlc task.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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 [^]
---

- Issue History
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
Powered by Mantis Bugtracker