Actions
Bug #96638
closedImage editor throws JS error - cannot read properties of undefined
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend JavaScript
Target version:
-
Start date:
2022-01-24
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
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)
Updated by Riccardo De Contardi over 2 years ago
- Category set to Backend JavaScript
Updated by Riccardo De Contardi about 2 years ago
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
Updated by Riccardo De Contardi over 1 year ago
Right not it seems I cannot reproduce it anymore on 12.4.5 and 13.0.0-dev. Can someone confirm?
Updated by Georg Ringer 6 months ago
- Status changed from New to Closed
I can't reproduce it either, therefore closing the issue
Actions