[BUGFIX] Correction of Filelink of FAL in linkvalidator 64/39464/4
authorPierre Boivin <pierreboivin85@gmail.com>
Mon, 11 May 2015 20:00:10 +0000 (16:00 -0400)
committerFrans Saris <franssaris@gmail.com>
Mon, 29 Jun 2015 16:25:42 +0000 (18:25 +0200)
commit9855896224227e6a8fd519692cbbe4a421e1088f
tree61e3d2ff8e518b6400f01f6ab64178d2a5237cb0
parent2018eb39f556bbfa938fb2682a144db7d7882707
[BUGFIX] Correction of Filelink of FAL in linkvalidator

Add a fetchType function for linkvalidator to take
FileLinktype class for "file:XXX" media instead of internalLink class.

Make a first validation with "retrieveFileOrFolderObject" to
check if file exist in a database.

Make a second validation on the file "physically" on the server.

Resolves: #66895
Releases: master, 6.2
Change-Id: Ife0ab588e0ac4eb932cca3d6545f243bbcddc7ae
Reviewed-on: http://review.typo3.org/39464
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Frans Saris <franssaris@gmail.com>
typo3/sysext/linkvalidator/Classes/Linktype/FileLinktype.php