Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0024247 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2013-07-02 14:43 | 2013-07-16 14:26 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | shuehner | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0MP26 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 844e3b805e0b | ||||
Projection | none | ETA | none | Target Version | 3.0MP26 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
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 | 0024247: junit test SystemServiceTest.testChangedDataSet assumes wrongly that all dataset have changes in last 600 days | |||||||
Description | The code in this junit test assumes that any non-empty dataset has changed in the last 600 days from now. That holds not true for the ADRD (aka referenceddata) dataset, but that fact is hidden by a dbsm bug/non-feature. As of now dbsm will not use any audit info from xml files and always puts 'now()' value on install.source which was hiding the problem A future change will change this in dbsm to use audit data if present in some xml files thus breaking this junit test. | |||||||
Steps To Reproduce | - | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0059838) hgbot (developer) 2013-07-03 11:33 |
Repository: erp/devel/pi Changeset: 844e3b805e0b66b144e045f0fa23721157b72bca Author: Stefan Hühner <stefan.huehner <at> openbravo.com> Date: Tue Jul 02 14:51:54 2013 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/844e3b805e0b66b144e045f0fa23721157b72bca [^] Fixed 24247. Fix invalid assumption in junit-test: testChangedDataSet When selecting a date for which we assume that after it any dataset has changed do not pick arbitrarily 600 days before today, but pick 0 date (smallest possible date ever). --- M src-test/org/openbravo/test/system/SystemServiceTest.java --- |
(0060020) hudsonbot (viewer) 2013-07-16 14:26 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9a5d5983399f [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2013-07-02 14:43 | shuehner | New Issue | |
2013-07-02 14:43 | shuehner | Assigned To | => shuehner |
2013-07-02 14:43 | shuehner | Modules | => Core |
2013-07-02 14:43 | shuehner | OBNetwork customer | => No |
2013-07-02 14:43 | shuehner | Triggers an Emergency Pack | => No |
2013-07-03 11:26 | shuehner | Review Assigned To | => marvintm |
2013-07-03 11:33 | hgbot | Checkin | |
2013-07-03 11:33 | hgbot | Note Added: 0059838 | |
2013-07-03 11:33 | hgbot | Status | new => resolved |
2013-07-03 11:33 | hgbot | Resolution | open => fixed |
2013-07-03 11:33 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/844e3b805e0b66b144e045f0fa23721157b72bca [^] |
2013-07-05 11:26 | marvintm | Status | resolved => closed |
2013-07-05 11:26 | marvintm | Fixed in Version | => 3.0MP26 |
2013-07-16 14:26 | hudsonbot | Checkin | |
2013-07-16 14:26 | hudsonbot | Note Added: 0060020 |
Copyright © 2000 - 2009 MantisBT Group |