[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/20850 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
Showing
- typo3/sysext/core/Build/UnitTests.xml 4 additions, 1 deletiontypo3/sysext/core/Build/UnitTests.xml
- typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php 1 addition, 1 deletiontypo3/sysext/recordlist/Classes/Browser/ElementBrowser.php
- typo3/sysext/recordlist/Tests/Unit/Browser/ElementBrowserTest.php 42 additions, 0 deletions...sext/recordlist/Tests/Unit/Browser/ElementBrowserTest.php
Please register or sign in to comment