Openbravo Issue Tracking System - POS2
View Issue Details
0051805POS2Corepublic2023-03-08 11:572023-03-08 12:53
caristu 
Triage Platform Base 
normalminorhave not tried
closedfixed 
5
 
23Q2 
2023-02-21
https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/8108a35b78bb0ecd7af0e7432d11c6337f4c83c5 [^]
No
0051805: Storyshots.test.js fails under some circumstances
With the changes introduced with 0051474 the Storyshots.test.js fails having org.openbravo.pos2.marketingsurvey installed
1) In an environment with org.openbravo.pos2 and org.openbravo.pos2.marketingsurvey modules installed run npm test modules/org.openbravo.core2/web-jspack/org.openbravo.core2/src/storybook/Storyshots.test.js

Note that it fails with this error: "TypeError: _OB$App$State.getState is not a function". See attached
No tags attached.
caused by feature request 0051474 closed ablasco Portrait Responsive Dialog 
related to defect 0051807 new Retail Unexpected console errors in some story tests 
png error.png (32,442) 2023-03-08 11:58
https://issues.openbravo.com/file_download.php?file_id=18231&type=bug
png
Issue History
2023-03-08 11:57caristuNew Issue
2023-03-08 11:57caristuAssigned To => Triage Platform Base
2023-03-08 11:57caristuTriggers an Emergency Pack => No
2023-03-08 11:57caristuRelationship addedcaused by 0051474
2023-03-08 11:57caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=25648#r25648
2023-03-08 11:58caristuFile Added: error.png
2023-03-08 12:00hgbotNote Added: 0147372
2023-03-08 12:02caristuRegression date => 2023-02-21
2023-03-08 12:02caristuRegression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/8108a35b78bb0ecd7af0e7432d11c6337f4c83c5 [^]
2023-03-08 12:16caristuIssue cloned0051807
2023-03-08 12:16caristuRelationship addedrelated to 0051807
2023-03-08 12:53hgbotNote Added: 0147377
2023-03-08 12:53hgbotResolutionopen => fixed
2023-03-08 12:53hgbotStatusnew => closed
2023-03-08 12:53hgbotFixed in Version => 23Q2
2023-03-08 12:53hgbotNote Added: 0147378

Notes
(0147372)
hgbot   
2023-03-08 12:00   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1004 [^]
(0147377)
hgbot   
2023-03-08 12:53   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1004 [^]
(0147378)
hgbot   
2023-03-08 12:53   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 9d3057763d5df4daebfadd04f0d1a3a8793e3081
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 08-03-2023 12:11:19
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/9d3057763d5df4daebfadd04f0d1a3a8793e3081 [^]

fixes BUG-51805: avoid failure in stories when state is not defined

---
M web-jspack/org.openbravo.core2/src/components/BaseDialog/BaseDialog.jsx
---