Bug #96638
closed
Image editor throws JS error - cannot read properties of undefined
Added by Philipp Kuhlmay almost 3 years ago.
Updated 6 months ago.
Category:
Backend JavaScript
Description
After opening the image manipulation editor I get the following JS error inside the Google Chrome console:
VM910 ImageManipulation.js:13 Uncaught TypeError: Cannot read properties of undefined (reading 'find')
at h.update (VM910 ImageManipulation.js:13:8040)
at HTMLLabelElement.<anonymous> (VM910 ImageManipulation.js:13:6529)
at HTMLLabelElement.dispatch (jquery.js?bust=1642602253:5430:27)
at HTMLLabelElement.elemData.handle (jquery.js?bust=1642602253:5234:28)
- Category set to Backend JavaScript
This looks still reproducible on 12.0.0-dev (latest master) with the following steps
1. Create Text & pic CE
2. Open chrome console & clear messages
3. Go to "Images" tab and add an image (an already loaded one is OK)
4. Save the CE (it is important)
5. Open the image manipulation ("Open Editor")
Result: the error appears
Uncaught TypeError: Cannot read properties of undefined (reading 'find')
at ImageManipulation.update (image-manipulation.js?bust=489562db164085d6304b74f2789a8586f1b006bc:13:8055)
at ImageManipulation.init (image-manipulation.js?bust=489562db164085d6304b74f2789a8586f1b006bc:13:7683)
at n.<anonymous> (image-manipulation.js?bust=489562db164085d6304b74f2789a8586f1b006bc:13:3689)
at e.emitEvent (ev-emitter.js?bust=489562db164085d6304b74f2789a8586f1b006bc:1:761)
at n.complete (imagesloaded.js?bust=489562db164085d6304b74f2789a8586f1b006bc:6:2552)
at n.progress (imagesloaded.js?bust=489562db164085d6304b74f2789a8586f1b006bc:6:2369)
at imagesloaded.js?bust=489562db164085d6304b74f2789a8586f1b006bc:6:1937
Right not it seems I cannot reproduce it anymore on 12.4.5 and 13.0.0-dev. Can someone confirm?
- Status changed from New to Closed
I can't reproduce it either, therefore closing the issue
Also available in: Atom
PDF