Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0035621 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | trivial | have not tried | 2017-03-27 10:49 | 2017-03-31 08:40 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR17Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 14e708fab4b5 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | caristu | |||||||
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 | 0035621: information buried in logs when IndexesTest fails | |||||||
Description | IndexesTest 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 Reproduce | 1. 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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(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 (viewer) 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 (viewer) 2017-03-31 08:40 |
Code reviewed + tested OK. |
![]() |
|||
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 | OBNetwork customer | => No |
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 |