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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035621
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformtrivialhave not tried2017-03-27 10:492017-03-31 08:40
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version3.0PR17Q2
StatusclosedFix in branchFixed in SCM revision14e708fab4b5
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tocaristu
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035621: information buried in logs when IndexesTest fails

DescriptionIndexesTest checks all tables used in subtabs have the FK column to the parent tab indexed.

When it fails, the errors appear in the log but not in the failure itself, making it difficult to check what was wrong. This is specially difficult when this test is executed as part of the complete test suite.
Steps To Reproduce1. Drop an index for a subtab: ie. DROP INDEX c_orderline_order
2. Execute IndexesTest
  -> The failure message says:
        java.lang.AssertionError: There are missing indexes! expected:<0> but was:<31>
     To check which are the missing indexes, it is required to check the full output log
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0095584)
hgbot (developer)
2017-03-27 10:55

Repository: erp/devel/pi
Changeset: 14e708fab4b58d2eda4f1aa50f8f605f4cc98299
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Mar 27 10:52:11 2017 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/14e708fab4b58d2eda4f1aa50f8f605f4cc98299 [^]

fixed bug 35621: information missing in logs when IndexesTest fails

  Now the list of errors is logged as part of failed assertion message instead
  of within the standard log.

---
M src-test/src/org/openbravo/test/model/IndexesTest.java
---
(0095592)
hudsonbot (developer)
2017-03-27 16:49

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/aebb09f053f9 [^]
Maturity status: Test
(0095742)
caristu (developer)
2017-03-31 08:40

Code reviewed + tested OK.

- Issue History
Date Modified Username Field Change
2017-03-27 10:49 alostale New Issue
2017-03-27 10:49 alostale Assigned To => platform
2017-03-27 10:49 alostale Modules => Core
2017-03-27 10:49 alostale Triggers an Emergency Pack => No
2017-03-27 10:54 alostale Assigned To platform => alostale
2017-03-27 10:54 alostale Review Assigned To => caristu
2017-03-27 10:55 hgbot Checkin
2017-03-27 10:55 hgbot Note Added: 0095584
2017-03-27 10:55 hgbot Status new => resolved
2017-03-27 10:55 hgbot Resolution open => fixed
2017-03-27 10:55 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/14e708fab4b58d2eda4f1aa50f8f605f4cc98299 [^]
2017-03-27 12:58 alostale Summary information missing in logs when IndexesTest fails => information lost in logs when IndexesTest fails
2017-03-27 12:58 alostale Summary information lost in logs when IndexesTest fails => information buried in logs when IndexesTest fails
2017-03-27 16:49 hudsonbot Checkin
2017-03-27 16:49 hudsonbot Note Added: 0095592
2017-03-31 08:40 caristu Note Added: 0095742
2017-03-31 08:40 caristu Status resolved => closed
2017-03-31 08:40 caristu Fixed in Version => 3.0PR17Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker