Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0046154 | Openbravo ERP | A. Platform | public | 2021-03-25 17:51 | 2021-03-26 13:41 |
Reporter | AugustoMauch | ||||
Assigned To | platform | ||||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | PR21Q2 | |||
Merge Request Status | approved | ||||
Review Assigned To | |||||
OBNetwork customer | No | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0046154: Eslint should ignore web-jspack folder if org.openbravo.core2 is not installed. | ||||
Description | Now that we support dual modules it is possible that a module contains code for both the legacy and the new version of applications. When installed in environments where the new version of the application is not available, code in web-jspack should not be taking into account. This is already true in most cases (i.e. jest tests), but eslint is still linting files in that folder. They must be ignored because those files might reference code from the new version of app, and that would result in eslint errors. | ||||
Steps To Reproduce | In a retail environment where org.openbravo.core2 is available, install this module [1] and then run eslint: ./modules/org.openbravo.client.kernel/jslint/jslint There should be no error, but instead it will fail with the following message: Oops! Something went wrong! :( ESLint: 7.17.0 ESLint couldn't find the config "airbnb" to extend from. Please check that the name of the config is correct. The config "airbnb" was referenced from the config file in "/home/openbravo/openbravoERP/pos1modules/openbravo [1] https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.trainingmode/ [^] | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2021-03-25 17:51 | AugustoMauch | New Issue | |||
2021-03-25 17:51 | AugustoMauch | Assigned To | => platform | ||
2021-03-25 17:51 | AugustoMauch | OBNetwork customer | => No | ||
2021-03-25 17:51 | AugustoMauch | Modules | => Core | ||
2021-03-25 17:51 | AugustoMauch | Triggers an Emergency Pack | => No | ||
2021-03-25 21:30 | hgbot | Merge Request Status | => open | ||
2021-03-25 21:30 | hgbot | Note Added: 0126934 | |||
2021-03-26 13:34 | hgbot | Merge Request Status | open => approved | ||
2021-03-26 13:41 | hgbot | Resolution | open => fixed | ||
2021-03-26 13:41 | hgbot | Status | new => closed | ||
2021-03-26 13:41 | hgbot | Fixed in Version | => PR21Q2 | ||
2021-03-26 13:41 | hgbot | Note Added: 0126949 | |||
2021-03-26 13:41 | hgbot | Note Added: 0126950 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|