Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-80606

"BrightnessComponent.es.js" is misspelled as "BrighntessComponent.es.js"

Details

    Description

      There is a misspelled component "BrighntessComponent.es.js" here https://github.com/liferay/liferay-portal-ee/tree/7.0.x/modules/apps/foundation/frontend-image-editor/frontend-image-editor-capability-brightness/src/main/resources/META-INF/resources and https://github.com/liferay/liferay-portal/tree/master/modules/apps/foundation/frontend-image-editor/frontend-image-editor-capability-brightness/src/main/resources/META-INF/resources

      This causes a browser error when attempting to import "BrightnessComponent.es.js" as that is the proper spelling.

      Steps to reproduce

      1. open your console while on any Liferay page
      2. paste

      Liferay.Loader.require("frontend-image-editor-capability-brightness/BrighntessComponent.es", (component) => console.log(component), (error) => console.log(error))

      3. Assert that the component is returned
      4. paste

      Liferay.Loader.require("frontend-image-editor-capability-brightness/BrightnessComponent.es", (component) => console.log(component), (error) => console.log(error))

      Results of Testing

      Expected Result: Returned component as it is the correct spelling of "Brightness"
      Actual Result: The browser is unable to find the file, as it does not exist due to the misspelling.

      Errors/Logs

      None

      Master

      Reproduced: d1fd9ab2b7160240d989d97a833a855dcd19b8af

      Master-Private

      Reproduced: 7cb7a05

      Branch

      Reproduced: e167be51c8668625ee8222b82f61b21019c0cd0a

      Attachments

        Activity

          People

            lu.liu Lu Liu
            austin.kim Austin Kim (Inactive)
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 3 weeks ago

              Packages

                Version Package
                7.0.0 DXP FP47
                7.0.0 DXP SP8
                7.1.0 Beta 1
                7.1.X
                Master