[BUGFIX] File upload in RTE-Link-Editor throws 500 error 90/22190/2
authorPhilipp Gampe <philipp.gampe@typo3.org>
Thu, 16 May 2013 18:42:49 +0000 (20:42 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 11 Jul 2013 19:51:03 +0000 (21:51 +0200)
commitfa7db6eed11be2788eedddc5f2b0438bde1ab91f
tree815ba6af3805683eb766ea4aecd11c6333371f57
parentad95ffd0d568766471968bb2bb7dfcfb00753415
[BUGFIX] File upload in RTE-Link-Editor throws 500 error

When you want to add a link in the RTE-Editor, you can upload files in
the "File" tab. When you select a file and want to upload it, the
reloaded content in the create-link-overlay will throw an error.

The method is feed with a translation of "none - new file".

Bypass the file or folder lookup if we do not have an integer id
and print the message instead.

Resolves: #48219
Releases: 6.2, 6.1, 6.0
Change-Id: I9e1e6bc84b21fb04608841515ac414eec8c04130
Reviewed-on: https://review.typo3.org/22190
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/core/Build/UnitTests.xml
typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php
typo3/sysext/recordlist/Tests/Unit/Browser/ElementBrowserTest.php [new file with mode: 0644]