Skip to content

typo error on a js file. #36163

@Oscarvaz96

Description

@Oscarvaz96

Summary (*)

On Magento 2.3.5 there is a typo error right here:
vendor/magento/module-catalog/view/frontend/web/js/product/storage/storage-service.js
line 120:
/**
* Subscribers list
*/
subsctibers = {};
this object subsctibers = {}; is used in further parts of this js with that same name, which is a typo.

Examples (*)

line 191
processSubscribers: function (initialized, config) {
if (subsctibers[config.namespace]) {
_.each(subsctibers[config.namespace], function (callback) {
callback(initialized);
});

                delete subsctibers[config.namespace];
            }
        },

Proposed solution

It should be replaced by subscribers

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users with no workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

Labels

Area: FrameworkIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P3May be fixed according to the position in the backlog.Progress: doneReported on 2.3.5Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchTriage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject it

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions