[BUGFIX] Pass record info when determining defaultUploadFolder in FileBrowser 96/58096/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 10:01:26 +0000 (11:01 +0100)
commit6797522ce5d890a916ee1ed1f47b89f0c0d00667
treefe9d6fc6cd87719cb63bddc79a55c4bd7ec9428d
parent12bf0ed02623e659ebdef38032201fa6eb387da7
[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/58096
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
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]