Bug #95259
open
Image editor hung up with JS Error / Cannot read properties of undefined (reading 'cropArea')
Added by Jens Neumann about 3 years ago.
Updated about 2 years ago.
Description
Sometimes the image editor completely hung up with an JS error:
Cannot read properties of undefined (reading 'cropArea')
The error occurs from time to time and cannot always be reproduced.
Look like these error from TYPO3 8:
https://forge.typo3.org/issues/83746
Files
- Related to Bug #83746: Occasional Image Editor lock ups (this.currentCropVariant is undefined) added
- Subject changed from Image editor lock up with JS Error / Cannot read properties of undefined (reading 'cropArea') to Image editor hung up with JS Error / Cannot read properties of undefined (reading 'cropArea')
I still get an similar error in TYPO3 11.5.5
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)
I get the exact same error in TYPO3 11.5.17 on local ddev installs..
Uncaught TypeError: Cannot read properties of undefined (reading 'cropArea')
at h.init (ImageManipulation.js?bust=1665476630:13:7387)
at o.<anonymous> (ImageManipulation.js?bust=1665476630:13:3605)
at t.emitEvent (imagesloaded.pkgd.min.js?bust=1665476630:7:847)
at o.complete (imagesloaded.pkgd.min.js?bust=1665476630:7:3640)
at o.progress (imagesloaded.pkgd.min.js?bust=1665476630:7:3457)
at imagesloaded.pkgd.min.js?bust=1665476630:7:3000
see: https://forge.typo3.org/issues/98576
- Related to Bug #98576: Uncaught TypeError: Cannot read properties of undefined (reading 'cropArea') added
Also available in: Atom
PDF