Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045814
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminorhave not tried2021-01-29 13:132021-02-01 07:14
ReportershuehnerView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0045814: jest test in nexoprovider fail with --strict-mode

DescriptionJest test in this module org.openbravo.retail.nexoprovider fail when being run in strict mode (see 45019).

Those should be fixed

List of errors:
- ReferenceError: sourceIsEvt is not defined
  on line:
  > 18 | const { Jsonix } = require('jsonix');

Always same topic just in a couple of different js files.
Steps To Reproducenode --use_strict node_modules/.bin/jest
    ReferenceError: sourceIsEvt is not defined
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0045820 newRetail Two jest tests have been disabled in Nexo provider as they imported enyo and could not be run in strict mode 
blocks feature request 0045019 closedRetail run jest tests in strict mode 

-  Notes
(0125897)
hgbot (developer)
2021-02-01 04:23

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.nexoprovider/-/merge_requests/7 [^]
(0125901)
hgbot (developer)
2021-02-01 07:14

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.nexoprovider [^]
Changeset: 85288b6ec3b7c56c33f278a892aa8c1909b50b86
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-02-01T08:50:59+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.nexoprovider/-/commit/85288b6ec3b7c56c33f278a892aa8c1909b50b86 [^]

Fixed ISSUE-45814: Removed enyo dependent from jest test
* Updated jsonix reference

---
M web-test/payment.test.js
M web-test/rootnexo.js
M web-test/sample.test.js
M web-test/voidcheck.test.js
M web/org.openbravo.retail.nexoprovider/lib/jsonix/Jsonix-all.js
---
(0125902)
hgbot (developer)
2021-02-01 07:14

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.nexoprovider/-/merge_requests/7 [^]

- Issue History
Date Modified Username Field Change
2021-01-29 13:13 shuehner New Issue
2021-01-29 13:13 shuehner Assigned To => Retail
2021-01-29 13:13 shuehner Triggers an Emergency Pack => No
2021-01-29 13:13 shuehner Relationship added blocks 0045019
2021-01-31 13:44 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2021-02-01 04:23 hgbot Note Added: 0125897
2021-02-01 06:25 ranjith_qualiantech_com Status new => scheduled
2021-02-01 07:13 marvintm Relationship added related to 0045820
2021-02-01 07:14 hgbot Resolution open => fixed
2021-02-01 07:14 hgbot Status scheduled => closed
2021-02-01 07:14 hgbot Note Added: 0125901
2021-02-01 07:14 hgbot Note Added: 0125902


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker