[FOLLOWUP][BUGFIX] Show full folder path in file list title 87/39787/2
authorFrans Saris <franssaris@gmail.com>
Thu, 28 May 2015 06:57:26 +0000 (08:57 +0200)
committerXavier Perseguers <xavier@typo3.org>
Sun, 31 May 2015 07:09:58 +0000 (09:09 +0200)
commite881769d548634aaa2831ecddb5af91a2cfaa770
tree7246aaef60b7983452c765a2250530c3ec85a785
parent4d8d215cc3a7dc522f3e62efa08655b082bf5ccc
[FOLLOWUP][BUGFIX] Show full folder path in file list title

In old situation the full path to of the folder was shown.
With #64759 only the accessible part is shown. The logic
to determine what the root is of the 'current' filemount
is not suitable for this and will always return the root path of
the first filemount within the storage. This could result in a wrong
root identifier.

This patch fixes the output of the readable path to the
full path by using the real storage root instead of the storage root
defined by the filemount.

Resolves: #67148
Related: #64759
Releases: master, 6.2
Change-Id: Ie00fa2dc7d3833f798c5a2913bb9674b2b15b6e7
Reviewed-on: http://review.typo3.org/39787
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
typo3/sysext/core/Classes/Resource/Folder.php
typo3/sysext/core/Classes/Resource/ResourceStorage.php