Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2018-11-27 10:122018-12-11 20:22
ReportercaristuView Statuspublic 
Assigned Tocaristu 
PriorityhighResolutionfixedFixed in Version3.0PR19Q1
StatusclosedFix in branchFixed in SCM revision6e5c6474aebe
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0039699: SortingFilteringGridConfiguration is failing when it should be skipped

DescriptionThe SortingFilteringGridConfiguration is failing when it should be skipped. This test is designed to be skipped when there exists grid configurations apart from the default ones.

In that case, instead of being skipped, the test is failing.
Steps To Reproduce1) Go to the [Grid Configuration at Window/Tab/Field level] window
2) Create a new record in the header, for any tab of core
3) Run the SortingFilteringGridConfiguration test. Note that it fails with the following error trace:

org.junit.internal.AssumptionViolatedException: Number of custom grid configs: got: <1>, expected: is <0>
    at org.junit.Assume.assumeThat(
    at org.openbravo.test.views.SortingFilteringGridConfiguration.shouldExecuteOnlyIfThereIsNoGridConfig(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(
    at org.junit.internal.runners.statements.RunBefores.evaluate(
    at org.junit.internal.runners.statements.RunAfters.evaluate(
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(

    at org.openbravo.test.views.SortingFilteringGridConfiguration.cleanUp(
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0038319 closedshuehner Openbravo ERP Skip grid config related junit tests if any module shipping grid configuration is installed - part3 
related to design defect 0039360 closedgorka_gil Retail Modules Terminal Log : Improve log client with cashier actions and processes start/end info 
related to defect 0039725 closedalostale Openbravo ERP ViewGeneration fails in retail CI 

-  Notes
hgbot (developer)
2018-11-27 11:05

Repository: erp/devel/pi
Changeset: 6e5c6474aebed7fbc4a63269d52a3b46c1720797
Author: Carlos Aristu <carlos.aristu <at>>
Date: Tue Nov 27 10:52:36 2018 +0100
URL: [^]

Fixes issue 39699: Avoid NPE when test is skipped

  When the assumption done in the @BeforeClass method is not fullfilled, then initialization of the "coreWasInDevelopment" variable is not done. In that case, a NPE was being thrown later in the @AfterClass method.

  Now we are just simply avoiding that NPE in the @AfterClass method.

M src-test/src/org/openbravo/test/views/
alostale (developer)
2018-11-30 11:16

reviewed + tested
hudsonbot (developer)
2018-12-11 20:22

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2018-11-27 10:12 caristu New Issue
2018-11-27 10:12 caristu Assigned To => platform
2018-11-27 10:12 caristu Modules => Core
2018-11-27 10:12 caristu Triggers an Emergency Pack => No
2018-11-27 10:46 caristu Summary SortingFilteringGridConfiguration is failing instead of being skipped => SortingFilteringGridConfiguration is failing when it should be skipped
2018-11-27 10:46 caristu Description Updated View Revisions
2018-11-27 10:46 caristu Steps to Reproduce Updated View Revisions
2018-11-27 10:46 caristu Assigned To platform => caristu
2018-11-27 10:46 caristu Relationship added related to 0038319
2018-11-27 10:47 caristu Relationship added related to 0039360
2018-11-27 10:48 caristu Steps to Reproduce Updated View Revisions
2018-11-27 11:05 hgbot Checkin
2018-11-27 11:05 hgbot Note Added: 0108121
2018-11-27 11:05 hgbot Status new => resolved
2018-11-27 11:05 hgbot Resolution open => fixed
2018-11-27 11:05 hgbot Fixed in SCM revision => [^]
2018-11-27 11:05 caristu Review Assigned To => alostale
2018-11-30 11:16 alostale Note Added: 0108179
2018-11-30 11:16 alostale Status resolved => closed
2018-11-30 11:16 alostale Fixed in Version => 3.0PR19Q1
2018-11-30 15:06 alostale Relationship added related to 0039725
2018-12-11 20:22 hudsonbot Checkin
2018-12-11 20:22 hudsonbot Note Added: 0108500

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker