Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0049111 | Retail Modules | Discounts and Promotions | public | 2022-04-22 11:25 | 2022-05-10 09:45 |
|
Reporter | cberner | |
Assigned To | cberner | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR22Q3 | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | No |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0049111: Discounts tests with node server fail due to usage of Dal |
Description | Dal is being used in several tests on Discounts module. This results in them failing when tested in Remote mode, with the node server deployed. That is due to Dal not being initialized on all tests, it is only initialized once at the start for deploying the JS and then it is assumed not required by the testing infrastructure, that is not the case anymore, as Dal is being used in several tests. |
Steps To Reproduce | Follow the guide provided here: http://wiki.openbravo.com/wiki/How_to_run_Discounts_Test_Cases#Running_the_test_cases [^]
Run the tests in Remote mode and check that all tests fail after the first test-case, due to Dal being uninitialized. If rerun with the node service not restarted, all tests will fail, as dal is not initialized. |
Proposed Solution | Initialize Dal always at the start of the suite of tests. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2022-04-22 11:25 | cberner | New Issue | |
2022-04-22 11:25 | cberner | Assigned To | => Retail |
2022-04-22 11:25 | cberner | OBNetwork customer | => No |
2022-04-22 11:25 | cberner | Triggers an Emergency Pack | => No |
2022-04-22 11:25 | cberner | Assigned To | Retail => cberner |
2022-04-22 11:25 | cberner | Status | new => acknowledged |
2022-04-22 11:28 | hgbot | Merge Request Status | => open |
2022-04-22 11:28 | hgbot | Note Added: 0136676 | |
2022-04-22 11:40 | hgbot | Merge Request Status | open => approved |
2022-05-10 09:45 | hgbot | Resolution | open => fixed |
2022-05-10 09:45 | hgbot | Status | acknowledged => closed |
2022-05-10 09:45 | hgbot | Note Added: 0137109 | |
2022-05-10 09:45 | hgbot | Fixed in Version | => RR22Q3 |
2022-05-10 09:45 | hgbot | Note Added: 0137110 | |