cabservicesag / falsearch

TYPO3 - A simple search for FAL files.
GNU General Public License v2.0
4 stars 1 forks source link

Extension not compatible with fal_securedownload #1

Closed christophlehmann closed 8 years ago

christophlehmann commented 8 years ago

TYPO3 6.2.19 falsearch 0.0.6 fal_securedownloads 1.0.0

PHP Catchable fatal error: Argument 3 passed to BeechIt\FalSecuredownload\Aspects\PublicUrlAspect::generatePublicUrl() must implement interface TYPO3\CMS\Core\Resource\FileInterface, instance of Cabag\Falsearch\Xclass\Folder given in .../typo3conf/ext/fal_securedownload/Classes/Aspects/PublicUrlAspect.php on line 73, referer: ...

It would be nice when they work together

CDRO commented 8 years ago

Hello Christoph,

I'll check this issue this week and try to work out a fix by the end of the week.

CDRO commented 8 years ago

I'll have to disappoint you about the deadline, I think I wont be able to hold it. I'm going at it asap but you know how it is.

CDRO commented 8 years ago

@christophlehmann This should now have been solved in the newest version of fal_securedownloads.

Also there is a new version of falsearch available for download right now.

Thanks for your feedback.

christophlehmann commented 8 years ago

@CDRO Thanks for your investigation, but it doesn't work with falsearch 0.1.3 and fal_securedownloads 1.0.2

I get

PHP Catchable fatal error: Argument 3 passed to BeechIt\\FalSecuredownload\\Aspects\\PublicUrlAspect::generatePublicUrl() must implement interface TYPO3\\CMS\\Core\\Resource\\FileInterface, instance of Cabag\\Falsearch\\Xclass\\Folder given in .../fal_securedownload/Classes/Aspects/PublicUrlAspect.php on line 79

I will try to have a look at it later

christophlehmann commented 8 years ago

Now I tried the current git version 1.0.3-dev of fal_securedownload and it works like a charm. Thank you!