Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0045740 | Openbravo ERP | A. Platform | public | 2021-01-18 09:59 | 2021-01-18 11:40 |
Reporter | shuehner | ||||
Assigned To | shuehner | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | PR21Q2 | |||
Merge Request Status | approved | ||||
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 | 0045740: RuntimeModelTest.testIsParent/testisParent2 hides details of wrong defined columns under isDebug | ||||
Description | Those test cases show following output when they detect a wrongly defined column: expected:<0> but was:<1> Details about which column that is about is not shown at all (unless log4j debug level is enabled). That makes it very impractical to find and fix the problem. Instead info from debug output should be directly added to the assertion. | ||||
Steps To Reproduce | - | ||||
Proposed Solution | Instead info from debug output should be directly added to the assertion to show similar to this: java.lang.AssertionError: 1 columns set as *isParent* and are *primitive type*: [C_Order - EM_OBGM_c_bpartner_taxid] expected:<0> but was:<1> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.openbravo.test.model.RuntimeModelTest.testIsParent2(RuntimeModelTest.java:296) at | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2021-01-18 09:59 | shuehner | New Issue | |||
2021-01-18 09:59 | shuehner | Assigned To | => shuehner | ||
2021-01-18 09:59 | shuehner | OBNetwork customer | => No | ||
2021-01-18 09:59 | shuehner | Modules | => Core | ||
2021-01-18 09:59 | shuehner | Triggers an Emergency Pack | => No | ||
2021-01-18 10:25 | hgbot | Merge Request Status | => open | ||
2021-01-18 10:25 | hgbot | Note Added: 0125489 | |||
2021-01-18 11:40 | hgbot | Merge Request Status | open => approved | ||
2021-01-18 11:40 | hgbot | Resolution | open => fixed | ||
2021-01-18 11:40 | hgbot | Status | new => closed | ||
2021-01-18 11:40 | hgbot | Fixed in Version | => PR21Q2 | ||
2021-01-18 11:40 | hgbot | Note Added: 0125495 | |||
2021-01-18 11:40 | hgbot | Note Added: 0125496 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|