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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0024247
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2013-07-02 14:432013-07-16 14:26
ReportershuehnerView Statuspublic 
Assigned Toshuehner 
PrioritynormalResolutionfixedFixed in Version3.0MP26
StatusclosedFix in branchFixed in SCM revision844e3b805e0b
ProjectionnoneETAnoneTarget Version3.0MP26
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0024247: junit test SystemServiceTest.testChangedDataSet assumes wrongly that all dataset have changes in last 600 days

DescriptionThe 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-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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 (developer)
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

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