Project

General

Profile

Actions

Bug #84499

closed

Uncaught TypeError: Cannot read property 'cropArea' of undefined

Added by Giuseppe Cavallaro about 6 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend JavaScript
Target version:
-
Start date:
2018-03-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

clipboard-202210101919-mfmz2.png (63.8 KB) clipboard-202210101919-mfmz2.png Bernhard Berger, 2022-10-10 17:19

Related issues 3 (1 open2 closed)

Related to TYPO3 Core - Bug #83746: Occasional Image Editor lock ups (this.currentCropVariant is undefined)Closed2018-02-01

Actions
Related to TYPO3 Core - Task #84559: Simplify modal callback handlingClosed2018-03-29

Actions
Related to TYPO3 Core - Bug #98576: Uncaught TypeError: Cannot read properties of undefined (reading 'cropArea')New2022-10-11

Actions
Actions #1

Updated by Gerrit Code Review about 6 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

Actions #2

Updated by Alexander Schnitzler about 6 years ago

  • Related to Bug #83746: Occasional Image Editor lock ups (this.currentCropVariant is undefined) added
Actions #3

Updated by Gerrit Code Review about 6 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

Actions #4

Updated by Gerrit Code Review about 6 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

Actions #5

Updated by Gerrit Code Review about 6 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

Actions #6

Updated by Gerrit Code Review about 6 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

Actions #7

Updated by Gerrit Code Review about 6 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

Actions #8

Updated by Gerrit Code Review about 6 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

Actions #9

Updated by Gerrit Code Review about 6 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

Actions #10

Updated by Gerrit Code Review about 6 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

Actions #11

Updated by Gerrit Code Review about 6 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

Actions #12

Updated by Gerrit Code Review about 6 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

Actions #13

Updated by Giuseppe Cavallaro about 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #14

Updated by Christian Kuhn about 6 years ago

  • Related to Task #84559: Simplify modal callback handling added
Actions #15

Updated by Gerrit Code Review about 6 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

Actions #16

Updated by Giuseppe Cavallaro about 6 years ago

  • Status changed from Under Review to Resolved
Actions #17

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions #18

Updated by Bernhard Berger over 1 year ago

I think this may be back..

TYPO3 11.5.16, local ddev environment. Works on Stage and Live server.

Actions #19

Updated by Christian Kuhn over 1 year 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.

Actions #20

Updated by Georg Ringer over 1 year ago

  • Related to Bug #98576: Uncaught TypeError: Cannot read properties of undefined (reading 'cropArea') added
Actions

Also available in: Atom PDF