Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0035303 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2017-02-19 13:59 | 2017-04-04 16:59 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | shuehner | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR17Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 678eb7a367b7 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | alostale | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0035303: Skip grid config related junit tests if any module shipping grid configuration is installed - part2 | |||||||
Description | Same case as already reported and partially fixed in issue 34769. The SortingFilteringGridConfiguration rely on the grid config setting being not modified for: private static final String BUSINESS_PARTNER_TAB_ID = "220"; private static final String BUSINESS_PARTNER_CATEGORY_FIELD_ID = "3955"; If any grid config module is installed which modify those the tests can no longer work. Same fix as 34769 the tests should check this and skip itself. Attached patch copies the fix from 34769 to this 2nd junit class. 1 change: it uses @BeforeClass instead of @Before to do the check once for the whole test class and not chekc for all 1820 parametrized combination over and over again. Note: Maybe that same change could improve the auto-skip in the 34769. | |||||||
Steps To Reproduce | Run this SortingFilteringGridConfiguration junit test with an grid-config module instaleld i.e. the org.openbravo.retail.highvolumesconfig module. | |||||||
Tags | No tags attached. | |||||||
Attached Files | 35303.diff [^] (2,423 bytes) 2017-02-19 14:00 [Show Content] | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0094447) shuehner (administrator) 2017-02-19 14:00 |
Note: patch may need formatting to be properly applied before committing. |
(0094453) hgbot (developer) 2017-02-20 09:14 |
Repository: erp/devel/pi Changeset: 678eb7a367b73a2a8d4d894e18199fa72747edc5 Author: Stefan Hühner <stefan.huehner <at> openbravo.com> Date: Mon Feb 20 09:13:34 2017 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/678eb7a367b73a2a8d4d894e18199fa72747edc5 [^] fixed issue 35303: Skip junit test if any module shipping grid configuration The SortingFilteringGridConfiguration rely on the grid config setting being not modified for: private static final String BUSINESS_PARTNER_TAB_ID = "220"; private static final String BUSINESS_PARTNER_CATEGORY_FIELD_ID = "3955"; If any grid config module is installed which modify those the tests can no longer work. --- M src-test/src/org/openbravo/test/views/SortingFilteringGridConfiguration.java --- |
(0094454) alostale (manager) 2017-02-20 09:15 |
reviewed + tested |
(0095194) hudsonbot (developer) 2017-03-15 20:19 |
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/54e102bef53e [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2017-02-19 13:59 | shuehner | New Issue | |
2017-02-19 13:59 | shuehner | Assigned To | => platform |
2017-02-19 13:59 | shuehner | Modules | => Core |
2017-02-19 13:59 | shuehner | Triggers an Emergency Pack | => No |
2017-02-19 13:59 | shuehner | Relationship added | related to 0034769 |
2017-02-19 14:00 | shuehner | File Added: 35303.diff | |
2017-02-19 14:00 | shuehner | Note Added: 0094447 | |
2017-02-20 09:14 | hgbot | Checkin | |
2017-02-20 09:14 | hgbot | Note Added: 0094453 | |
2017-02-20 09:14 | hgbot | Status | new => resolved |
2017-02-20 09:14 | hgbot | Resolution | open => fixed |
2017-02-20 09:14 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/678eb7a367b73a2a8d4d894e18199fa72747edc5 [^] |
2017-02-20 09:15 | alostale | Review Assigned To | => alostale |
2017-02-20 09:15 | alostale | Note Added: 0094454 | |
2017-02-20 09:15 | alostale | Status | resolved => closed |
2017-02-20 09:15 | alostale | Fixed in Version | => 3.0PR17Q2 |
2017-03-15 20:19 | hudsonbot | Checkin | |
2017-03-15 20:19 | hudsonbot | Note Added: 0095194 | |
2017-04-04 16:59 | alostale | Assigned To | platform => shuehner |
2018-04-10 19:45 | shuehner | Relationship added | related to 0038319 |
Copyright © 2000 - 2009 MantisBT Group |