Bug #87519

Class 'TYPO3\CMS\Core\Http\JsonResponse' not found

Added by Mathias Brodala 10 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Authentication
Target version:
Start date:
2019-01-22
Due date:
% Done:

100%

TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

The RequireJsController uses the JsonResponse class in TYPO3v8 which was added with TYPO3v9 however.

This must be rewritten to not break the BE login.

Associated revisions

Revision c8c21aa5 (diff)
Added by Benni Mack 10 months ago

[BUGFIX] Use Json-based response for RequireJsController

This is a regression due to a very unfortunate
rebasing of a security backport which had the
exact code as changed here in the original change
which was tested.

The main reason is that JsonResponse is only
available in v9 or later.

Resolves: #87519
Releases: 8.7
Change-Id: Ib99cacb32e20d99b8e48940326385bcf5f4a19fa
Reviewed-on: https://review.typo3.org/59548
Reviewed-by: Mathias Brodala <>
Reviewed-by: Susanne Moog <>
Tested-by: Susanne Moog <>
Tested-by: TYPO3com <>
Reviewed-by: Oliver Hader <>
Tested-by: Oliver Hader <>

History

#2 Updated by Benni Mack 10 months ago

  • Status changed from New to Accepted

#3 Updated by Gerrit Code Review 10 months ago

  • Status changed from Accepted 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/59548

#4 Updated by Gerrit Code Review 10 months ago

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/59548

#5 Updated by Gerrit Code Review 10 months ago

Patch set 3 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/59548

#6 Updated by Benni Mack 10 months ago

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

#7 Updated by Oliver Hader 10 months ago

  • Category set to Authentication
  • Target version set to next-patchlevel

#8 Updated by Benni Mack 6 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF