Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0048133 | Retail Modules | Web POS Hardware Manager | public | 2021-11-23 10:42 | 2021-11-24 09:04 |
Reporter | adrianromero | ||||
Assigned To | adrianromero | ||||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | RR22Q1 | |||
Merge Request Status | |||||
Review Assigned To | alostale | ||||
OBNetwork customer | No | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0048133: Fix ESLINT and PRETTIER warnings | ||||
Description | There are two javascript files in the Hardware Manager that have js warnings: Checking formatting... modules/org.openbravo.retail.poshwmanager.sources/project/src/com/openbravo/poshw/www/handlebars.min.js modules/org.openbravo.retail.poshwmanager.sources/project/src/com/openbravo/poshw/www/processtemplate.js Code style issues found in the above file(s). Forgot to run Prettier? Lint check for Core files /srv/ci/workspace/mod-simple-ci34.52016/modules/org.openbravo.retail.poshwmanager.sources/project/src/com/openbravo/poshw/www/handlebars.min.js 27:2 error Replace `function(a,b){"object"==typeof·exports&&"object"==typeof·module?module.exports=b():"function"==typeof·define&&define.amd?define([],b):"object"==typeof·exports?exports.Handlebars=b():a.Handlebars=b()} ... /srv/ci/workspace/mod-simple-ci34.52016/modules/org.openbravo.retail.poshwmanager.sources/project/src/com/openbravo/poshw/www/processtemplate.js 11:10 warning 'processTemplate' is defined but never used no-unused-vars 12:1 error Replace `âŽÂ·Â·fetch(url,·'GET')âŽÂ·Â·.then(function·` with `··fetch(url,·'GET').then(function` prettier/prettier 16:39 error Replace `document.getElementById('data-template').innerHTML` with `âŽÂ·Â·Â·Â·Â·Â·document.getElementById('data-template').innerHTMLâŽÂ·Â·Â·Â·` prettier/prettier 17:73 error Replace `context` with `âŽÂ·Â·Â·Â·Â·Â·contextâŽÂ·Â·Â·Â·` prettier/prettier 21:10 error 'fetch' is already defined as a built-in global variable no-redeclare 22:30 error Delete `·` prettier/prettier 24:46 error Delete `·` prettier/prettier 36:2 error Insert `âŽ` prettier/prettier | ||||
Steps To Reproduce | Run ESLINT and PRETTIER using these two js files as parameters | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2021-11-23 10:42 | adrianromero | New Issue | |||
2021-11-23 10:42 | adrianromero | Assigned To | => Retail | ||
2021-11-23 10:42 | adrianromero | OBNetwork customer | => No | ||
2021-11-23 10:42 | adrianromero | Triggers an Emergency Pack | => No | ||
2021-11-24 07:01 | hgbot | Resolution | open => fixed | ||
2021-11-24 07:01 | hgbot | Status | new => resolved | ||
2021-11-24 07:01 | hgbot | Fixed in Version | => RR22Q1 | ||
2021-11-24 07:01 | hgbot | Note Added: 0133315 | |||
2021-11-24 07:07 | alostale | Assigned To | Retail => adrianromero | ||
2021-11-24 07:07 | alostale | Review Assigned To | => alostale | ||
2021-11-24 07:07 | alostale | Status | resolved => closed | ||
2021-11-24 09:04 | hgbot | Note Added: 0133325 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|