Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.X, Master
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