Feature #69916

Introduce PSR-7-based Routing for Backend AJAX Requests

Added by Andreas Fernandez about 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2015-10-22
Due date:
% Done:

100%

PHP Version:
Tags:
Complexity:
Sprint Focus:

Subtasks

Bug #70955: DragDrop upload is broken after PSR-7 changeClosed


Related issues

Related to TYPO3 Core - Bug #70389: Can't remove bookmarks on current master Closed 2015-10-05
Related to TYPO3 Core - Bug #70390: Some AJAX urls in EXT:recycler are invalid Closed 2015-10-05
Related to TYPO3 Core - Bug #70424: ExtDirect caching breaks between different browser sessions Closed 2015-10-06
Related to TYPO3 Core - Bug #78493: Invalid AJAX content type in OpendocsToolbarItem.php Closed 2016-10-29
Related to TYPO3 Core - Bug #78776: FileUpload do not show errors. Closed 2016-11-23

Associated revisions

Revision 3f0fb622 (diff)
Added by Benni Mack about 4 years ago

[!!!][FEATURE] Introduce PSR-7-based Routing for Backend AJAX Requests

The AjaxRequestHandler now first checks in the Router if an AJAX
route exists. A new flag "ajax" in the routing mechanism allows to call
ajax-based URLs which are then handed to the AJAX Request Handler.

All controllers now receive proper Request and Response objects.

All previous logic still works, but can slowly be migrated to the Routing
concept.

Resolves: #69916
Releases: master
Change-Id: I1e67d5a341a4dd2769247531246c9e1fad900c76
Reviewed-on: http://review.typo3.org/43365
Reviewed-by: Benni Mack <>
Tested-by: Benni Mack <>
Reviewed-by: Wouter Wolters <>
Tested-by: Wouter Wolters <>
Reviewed-by: Andreas Fernandez <>
Tested-by: Andreas Fernandez <>

Revision eef151d0 (diff)
Added by Andreas Fernandez about 4 years ago

[BUGFIX] Fix url for removing bookmarks

Resolves: #70389
Related: #69916
Releases: master
Change-Id: I42330aa02c5482522cc871acf5d7865822dca6a0
Reviewed-on: http://review.typo3.org/43820
Reviewed-by: Frank Nägler <>
Tested-by: Frank Nägler <>
Reviewed-by: Nicole Cordes <>
Tested-by: Nicole Cordes <>
Reviewed-by: Andreas Fernandez <>
Tested-by: Andreas Fernandez <>

Revision 510144d6 (diff)
Added by Andreas Fernandez about 4 years ago

[BUGFIX] Adjust AJAX route calls in EXT:recycler

Resolves: #70390
Related: #69916
Releases: master
Change-Id: If18689ca2a5380a0cfe5508cf9298bd57b950fbf
Reviewed-on: http://review.typo3.org/43822
Reviewed-by: Markus Klein <>
Tested-by: Markus Klein <>
Reviewed-by: Wouter Wolters <>
Tested-by: Wouter Wolters <>

Revision da314b2f (diff)
Added by Helmut Hummel about 4 years ago

[BUGFIX] Make ExtDirect route public

The ExtDirect routes currently have a unique session CSRF token, which
makes caching of these routes impossible.

Since these routes are protected by an individual CSRF token (TYPO3.ExtDirectToken),
We can simply define this route as public to avoid caching issues.

Resolves: #70424
Related: #69916
Releases: master
Change-Id: I0ad018cc80913ea40fc00b88322ee59e24c17799
Reviewed-on: http://review.typo3.org/43843
Reviewed-by: Helmut Hummel <>
Tested-by: Helmut Hummel <>
Reviewed-by: Andreas Fernandez <>
Tested-by: Andreas Fernandez <>

Revision e55c2930 (diff)
Added by Alexander Opitz almost 3 years ago

[BUGFIX] Show errors on ajax file actions

Respond with status code 500 on ajax file actions, so JS can differ
between success and failure.

Resolves: #78776
Related: #69916
Releases: master, 7.6
Change-Id: I166cb86be64a26d1a3b44bfba626bba3fd151df1
Reviewed-on: https://review.typo3.org/50753
Tested-by: TYPO3com <>
Reviewed-by: Gleb Levitin <>
Reviewed-by: Manuel Glauser <>
Tested-by: Manuel Glauser <>
Reviewed-by: Gianluigi Martino <>
Tested-by: Gianluigi Martino <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>

Revision 3ba9172e (diff)
Added by Alexander Opitz almost 3 years ago

[BUGFIX] Show errors on ajax file actions

Respond with status code 500 on ajax file actions, so JS can differ
between success and failure.

Resolves: #78776
Related: #69916
Releases: master, 7.6
Change-Id: I166cb86be64a26d1a3b44bfba626bba3fd151df1
Reviewed-on: https://review.typo3.org/50835
Tested-by: TYPO3com <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>

History

#1 Updated by Gerrit Code Review about 4 years ago

  • Status changed from New to Under Review

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43365

#2 Updated by Gerrit Code Review about 4 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43365

#3 Updated by Gerrit Code Review about 4 years ago

Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43365

#4 Updated by Gerrit Code Review about 4 years ago

Patch set 11 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43365

#5 Updated by Gerrit Code Review about 4 years ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43458

#6 Updated by Benni Mack about 4 years ago

  • Target version changed from 7.5 to 7 LTS

#7 Updated by Gerrit Code Review about 4 years ago

Patch set 12 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43365

#8 Updated by Gerrit Code Review about 4 years ago

Patch set 13 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43365

#9 Updated by Gerrit Code Review about 4 years ago

Patch set 14 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43365

#10 Updated by Gerrit Code Review about 4 years ago

Patch set 15 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43365

#11 Updated by Benni Mack about 4 years ago

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

#12 Updated by Riccardo De Contardi about 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF