#96638Image editor throws JS error - cannot read properties of undefined
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)Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 4
-
Riccardo De Contardi changed category 08/14/22, 13:55
-
Riccardo De Contardi commented 09/25/22, 09:00
-
Riccardo De Contardi commented 08/16/23, 20:40
Right not it seems I cannot reproduce it anymore on 12.4.5 and 13.0.0-dev. Can someone confirm?
-
Georg Ringer commented and changed status
NewClosed 06/07/24, 12:46I can’t reproduce it either, therefore closing the issue
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