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

Also available in: Atom PDF