Openbravo Issue Tracking System - POS2 | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0049534 | POS2 | POS | public | 2022-06-10 15:00 | 2022-06-10 15:03 |
Reporter | adrianromero | ||||
Assigned To | Retail | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0049534: Errors in console when opening the application story book | ||||
Description | When opening storybook for POS2, the console shows the following errors: https://livebuilds.openbravo.com/retail_pos2_modules_pgsql/web/storybook/?path=/story/platform-app--show-app [^] vendors~main.11471469.iframe.bundle.js:2 Unexpected error while loading ./components/SafeboxHistory/SafeboxHistoryPrintButton/stories/SafeboxHistoryPrintButton.stories.jsx: jest is not defined ReferenceError: jest is not defined at ../../../org.openbravo.pos2/web-jspack/org.openbravo.pos2/src/components/SafeboxHistory/SafeboxHistoryPrintButton/stories/SafeboxHistoryPrintButton.stories.jsx (https://livebuilds.openbravo.com/retail_pos2_modules_pgsql/web/storybook/main.19bd8cd8.iframe.bundle.js:1:1919382 [^]) at __webpack_require__ (https://livebuilds.openbravo.com/retail_pos2_modules_pgsql/web/storybook/runtime~main.0d092830.iframe.bundle.js:1:1301 [^]) at webpackContext (https://livebuilds.openbravo.com/retail_pos2_modules_pgsql/web/storybook/main.19bd8cd8.iframe.bundle.js:1:339111 [^]) at https://livebuilds.openbravo.com/retail_pos2_modules_pgsql/web/storybook/vendors~main.11471469.iframe.bundle.js:2:984958 [^] at Array.forEach (<anonymous>) at https://livebuilds.openbravo.com/retail_pos2_modules_pgsql/web/storybook/vendors~main.11471469.iframe.bundle.js:2:984910 [^] at Array.forEach (<anonymous>) at executeLoadable (https://livebuilds.openbravo.com/retail_pos2_modules_pgsql/web/storybook/vendors~main.11471469.iframe.bundle.js:2:984876 [^]) at executeLoadableForChanges (https://livebuilds.openbravo.com/retail_pos2_modules_pgsql/web/storybook/vendors~main.11471469.iframe.bundle.js:2:985718 [^]) at Object.getProjectAnnotations [as nextFn] (https://livebuilds.openbravo.com/retail_pos2_modules_pgsql/web/storybook/vendors~main.11471469.iframe.bundle.js:2:990177 [^]) error @ vendors~main.11471469.iframe.bundle.js:2 main.19bd8cd8.iframe.bundle.js:1 Uncaught (in promise) Error: Cannot find module './org.openbravo.retail.multiupc/web-jspack/org.openbravo.retail.multiupc/src/assets/style/main.scss' at main.19bd8cd8.iframe.bundle.js:1:1948 main.19bd8cd8.iframe.bundle.js:1 Uncaught (in promise) Error: Cannot find module './org.openbravo.certification.france/web-jspack/org.openbravo.certification.france/src/assets/style/main.scss' at main.19bd8cd8.iframe.bundle.js:1:1948 | ||||
Steps To Reproduce | In description | ||||
Proposed Solution | In SafeboxHistoryPrintButton.stories.jsx replace const mockPrintSafeboxCashupHistory = jest.fn(); by const mockPrintSafeboxCashupHistory = () => {}; In org.openbravo.retail.multiupc and org.openbravo.certification.france add a new file src/assets/style/main.scss | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2022-06-10 15:00 | adrianromero | New Issue | |||
2022-06-10 15:00 | adrianromero | Assigned To | => Retail | ||
2022-06-10 15:00 | adrianromero | Triggers an Emergency Pack | => No | ||
2022-06-10 15:03 | adrianromero | Proposed Solution updated |
There are no notes attached to this issue. |