Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0056130 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | minor | always | 2024-07-30 11:50 | 2024-08-14 09:57 | |||
Reporter | agusti_gallego | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0056130: A eslint directive is disabled and not re-enabled. | |||||||
Description | In the file CreateTicketFromQuotation from the retail.posterminal module, there are two eslint-directives that disable the rule no-restricted-syntax (https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/blob/master/web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/CreateTicketFromQuotation.js#L53 [^]). These directives do not have a corresponding line re-enabling them, so the rule gets disabled in the whole content. Therefore, in the POS2.js file that gets generated, this directive is ignored. This has become an issue because SSMS does not load the retail.posterminal react code and, therefore, the build shows an error related to eslint in code from the events.client module: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.client/-/blob/master/web/org.openbravo.events.client/source/events/eventsflow.js#L276. [^] | |||||||
Steps To Reproduce | In a local workspace, go to the POS2.js file that gets generated when building the app, find the two problematic eslint directives, and remove them. The eslint will show an error in the events.client code. | |||||||
Proposed Solution | Fix the file in the posterminal module so that it re-enables the eslint directive properly, and then include the disable directive in the events.client file to avoid having errors in the builds. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0167520) adrianromero (manager) 2024-07-31 09:56 |
This is an issue in org.openbravo.events.client. We take it |
(0167522) adrianromero (manager) 2024-07-31 11:23 |
Returning the issue after clarified with AgustÃ. It looks like that it requires coordinated changes in several files to properly adjust all eslint directives |
(0167523) hgbot (developer) 2024-07-31 11:28 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1636 [^] |
(0167524) hgbot (developer) 2024-07-31 11:28 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.asyncpayprovider/-/merge_requests/37 [^] |
(0167525) hgbot (developer) 2024-07-31 11:28 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.payment/-/merge_requests/37 [^] |
(0167526) hgbot (developer) 2024-07-31 11:28 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.client/-/merge_requests/77 [^] |
(0167649) hgbot (developer) 2024-08-02 11:10 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.asyncpayprovider [^] Changeset: 409680ba77311b2c15645a0996258089f142ae23 Author: Ranjith S R <ranjith.rangaraju.ext@openbravo.com> Date: 31-07-2024 11:23:44 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.asyncpayprovider/-/commit/409680ba77311b2c15645a0996258089f142ae23 [^] Related to ISSUE-56130: Added ESLint directive for for-of loop --- M web/org.openbravo.retail.asyncpayprovider/source/utils/managemessages.js M web/org.openbravo.retail.asyncpayprovider/source/utils/modelvalue.js --- |
(0167650) hgbot (developer) 2024-08-02 11:10 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.asyncpayprovider/-/merge_requests/37 [^] |
(0167651) hgbot (developer) 2024-08-02 11:11 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.client [^] Changeset: 808de72759f2dac5e7d9bdd561fa3bdace04b5fd Author: Ranjith S R <ranjith.rangaraju.ext@openbravo.com> Date: 31-07-2024 11:23:03 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.client/-/commit/808de72759f2dac5e7d9bdd561fa3bdace04b5fd [^] Related to ISSUE-56130: Added ESLint directive for for-of loop --- M web/org.openbravo.events.client/source/events/eventsflow.js --- |
(0167652) hgbot (developer) 2024-08-02 11:11 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.client/-/merge_requests/77 [^] |
(0167653) hgbot (developer) 2024-08-02 11:11 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.payment/-/merge_requests/37 [^] |
(0167654) hgbot (developer) 2024-08-02 11:11 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.payment [^] Changeset: 79d531b59310028f4052028ef378184d312dddeb Author: Ranjith S R <ranjith.rangaraju.ext@openbravo.com> Date: 31-07-2024 11:28:24 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.payment/-/commit/79d531b59310028f4052028ef378184d312dddeb [^] Related to ISSUE-56130: Added ESLint directive for for-of loop --- M web/org.openbravo.events.payment/source/actionpreparation/actionPreparation.js M web/org.openbravo.events.payment/source/model/paymentLogin.js --- |
(0168077) hgbot (developer) 2024-08-14 09:57 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^] Changeset: 7d80910cc5640e7cfc03f42cd968a499faa17a9b Author: Ranjith S R <ranjith.rangaraju.ext@openbravo.com> Date: 14-08-2024 07:57:23 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/7d80910cc5640e7cfc03f42cd968a499faa17a9b [^] Fixed ISSUE-56130: Added ESLint directive for for-of loop --- M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/CreateTicketFromQuotation.js --- |
(0168078) hgbot (developer) 2024-08-14 09:57 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1636 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2024-07-30 11:50 | agusti_gallego | New Issue | |
2024-07-30 11:50 | agusti_gallego | Assigned To | => Retail |
2024-07-30 11:50 | agusti_gallego | Triggers an Emergency Pack | => No |
2024-07-30 12:22 | guilleaer | Status | new => scheduled |
2024-07-30 12:22 | guilleaer | Assigned To | Retail => ranjith_qualiantech_com |
2024-07-31 09:55 | adrianromero | Assigned To | ranjith_qualiantech_com => adrianromero |
2024-07-31 09:56 | adrianromero | Note Added: 0167520 | |
2024-07-31 11:22 | adrianromero | Assigned To | adrianromero => ranjith_qualiantech_com |
2024-07-31 11:23 | adrianromero | Note Added: 0167522 | |
2024-07-31 11:28 | hgbot | Note Added: 0167523 | |
2024-07-31 11:28 | hgbot | Note Added: 0167524 | |
2024-07-31 11:28 | hgbot | Note Added: 0167525 | |
2024-07-31 11:28 | hgbot | Note Added: 0167526 | |
2024-08-02 11:10 | hgbot | Note Added: 0167649 | |
2024-08-02 11:10 | hgbot | Note Added: 0167650 | |
2024-08-02 11:11 | hgbot | Note Added: 0167651 | |
2024-08-02 11:11 | hgbot | Note Added: 0167652 | |
2024-08-02 11:11 | hgbot | Note Added: 0167653 | |
2024-08-02 11:11 | hgbot | Note Added: 0167654 | |
2024-08-14 09:57 | hgbot | Resolution | open => fixed |
2024-08-14 09:57 | hgbot | Status | scheduled => closed |
2024-08-14 09:57 | hgbot | Fixed in Version | => RR24Q4 |
2024-08-14 09:57 | hgbot | Note Added: 0168077 | |
2024-08-14 09:57 | hgbot | Note Added: 0168078 |
Copyright © 2000 - 2009 MantisBT Group |