Bug #84499
closedUncaught TypeError: Cannot read property 'cropArea' of undefined
0%
Description
In a specific project, I stumbled across a bug in the image cropper.
When I open the cropping tool, the lightbox opens and nothing happen.
In the JS-Console I get the error "Uncaught TypeError: Cannot read property 'cropArea' of undefined at ImageManipulation.init (ImageManipulation.js)".
We tried to debug it and found the reason for this bug.
The server we have for the TYPO3 Page, is really fast. We found out that the AJAX Response for the image cropper is faster than the JS execution itself.
I will submit a patch for this. It just changes the order of the JS, so it will work on very fast servers as well.
Files
Updated by Gerrit Code Review almost 7 years ago
- Status changed from New to Under Review
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56380
Updated by Alexander Schnitzler almost 7 years ago
- Related to Bug #83746: Occasional Image Editor lock ups (this.currentCropVariant is undefined) added
Updated by Gerrit Code Review almost 7 years ago
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56469
Updated by Gerrit Code Review almost 7 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56469
Updated by Gerrit Code Review almost 7 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56469
Updated by Gerrit Code Review almost 7 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56469
Updated by Gerrit Code Review almost 7 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56469
Updated by Gerrit Code Review almost 7 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56469
Updated by Gerrit Code Review almost 7 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56469
Updated by Gerrit Code Review almost 7 years ago
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56469
Updated by Gerrit Code Review almost 7 years ago
Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56469
Updated by Gerrit Code Review almost 7 years ago
Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56469
Updated by Giuseppe Cavallaro almost 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset fd1c7126c8276e659f00bc6ba834aa1124ced673.
Updated by Christian Kuhn almost 7 years ago
- Related to Task #84559: Simplify modal callback handling added
Updated by Gerrit Code Review almost 7 years ago
- Status changed from Resolved to Under Review
Patch set 2 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56380
Updated by Giuseppe Cavallaro almost 7 years ago
- Status changed from Under Review to Resolved
Applied in changeset df8043c61b0468b5f02178f3e4da35524994aa0c.
Updated by Bernhard Berger over 2 years ago
- File clipboard-202210101919-mfmz2.png clipboard-202210101919-mfmz2.png added
- % Done changed from 100 to 0
- TYPO3 Version changed from 8 to 11
I think this may be back..
TYPO3 11.5.16, local ddev environment. Works on Stage and Live server.
Updated by Christian Kuhn over 2 years ago
Thanks Bernhard.
Would you like to create a new issue and maybe link to this one?
Chances are low people see actions on old closed issues, and I just stumbled upon your comment by accident.
Updated by Georg Ringer over 2 years ago
- Related to Bug #98576: Uncaught TypeError: Cannot read properties of undefined (reading 'cropArea') added