[BUGFIX] Pass record info when determining defaultUploadFolder in FileBrowser 75/58775/5
authorFrans Saris <franssaris@gmail.com>
Fri, 31 Aug 2018 08:21:13 +0000 (10:21 +0200)
committerBenni Mack <benni@typo3.org>
Mon, 29 Oct 2018 11:02:21 +0000 (12:02 +0100)
commitd4bdb02b9e3cce6a76ede3cc488a7bcb2e7836c6
tree89928fcfc6f5ef17447bb66c0ccad6c0affde174
parentc0b6023df7379ac54c4df698e9bd017333d8e321
[BUGFIX] Pass record info when determining defaultUploadFolder in FileBrowser

The fileBrowser now passes the related pid, table and field to
getDefaultUploadFolder().

Resolves: #86053
Releases: master, 8.7
Change-Id: I954753ee84b4107b37ba45cbd08917f4c4be17d9
Reviewed-on: https://review.typo3.org/58775
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/recordlist/Classes/Browser/AbstractElementBrowser.php
typo3/sysext/recordlist/Classes/Browser/FileBrowser.php
typo3/sysext/recordlist/Tests/Unit/Browser/FileBrowserTest.php [new file with mode: 0644]