Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0057612Openbravo ERPA. Platformpublic2025-01-10 13:342025-01-21 11:48
caristu 
caristu 
highminorhave not tried
closedfixed 
5
 
PR25Q2 
Core
No
0057612: Grid Configuration tests are always being skipped
Grid Configuration tests are skipped if they detect any grid configuration defined in the system. The existing grid configurations are retrieved from a hardcoded list of grid configuration IDs, which forces us to maintain that list updated if new grid configurations are included in the sample data.

Moreover, currently not all the grid configurations of the sample data are present in that list which causes these tests to be wrongly skipped.
1) Execute any test that extends GridConfigurationTest, for example GCSequenceNumberTests
2) Note that the execution of the tests is skipped
No tags attached.
related to defect 0038319 closed shuehner Skip grid config related junit tests if any module shipping grid configuration is installed - part3 
Issue History
2025-01-10 13:34caristuNew Issue
2025-01-10 13:34caristuAssigned To => caristu
2025-01-10 13:34caristuModules => Core
2025-01-10 13:34caristuTriggers an Emergency Pack => No
2025-01-10 13:35caristuRelationship addedrelated to 0038319
2025-01-11 09:25hgbotNote Added: 0174019
2025-01-11 09:28caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=29038#r29038
2025-01-21 11:48hgbotNote Added: 0174462
2025-01-21 11:48hgbotResolutionopen => fixed
2025-01-21 11:48hgbotStatusnew => closed
2025-01-21 11:48hgbotFixed in Version => PR25Q2
2025-01-21 11:48hgbotNote Added: 0174463

Notes
(0174019)
hgbot   
2025-01-11 09:25   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1499 [^]
(0174462)
hgbot   
2025-01-21 11:48   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1499 [^]
(0174463)
hgbot   
2025-01-21 11:48   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: c30924c44fd11a36c5d5285f9639ee27494bb63b
Author: Carlos Aristu <c.aristu@orisha.com>
Date: 21-01-2025 11:45:18
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/c30924c44fd11a36c5d5285f9639ee27494bb63b [^]

fixes BUG-57612: Grid Configuration tests are unintendedly skipped

---
M src-test/src/org/openbravo/test/views/GCSequenceNumberTests.java
M src-test/src/org/openbravo/test/views/GridConfigurationTest.java
M src-test/src/org/openbravo/test/views/SortingFilteringGridConfiguration.java
M src-test/src/org/openbravo/test/views/ViewGenerationWithDifferentConfigLevelTest.java
---