Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0011425 | Openbravo ERP | A. Platform | public | 2009-11-19 16:38 | 2009-12-15 04:56 |
|
| Reporter | jpabloae | |
| Assigned To | shuehner | |
| Priority | urgent | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 20 | OS Version | Gentoo |
| Product Version | pi | |
| Target Version | | Fixed in Version | 2.50MP10 | |
| 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. |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | |
| Attached Files | |
|
| 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 | |
|
Notes |
|
|
|
|
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. |
|
|
|
|
|
There's a missing dependdency on "init" in the main build.xml |
|
|
|
(0022623)
|
|
hgbot
|
|
2009-12-10 12:21
|
|
|
|
|
(0022643)
|
|
mtaal
|
|
2009-12-10 15:02
|
|
|
Tested and works fine now |
|
|
|
|
|