Details
-
Bug
-
Resolution: Invalid
-
Critical
-
5.4.0-beta1
Description
The Native DFS IO metadata handler can be used to store images on NFS, , while remaining compatible with legacy, using the DFS Cluster file handler. However the new apache configurations, for fetching images, returns a http error 500 with the following in apache error.log:
[Tue Nov 04 12:41:19.254646 2014] [:error] [pid 2594] [client 10.0.5.1:54229] PHP Fatal error: Call to a member function getTimestamp() on a non-object in /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishIOBundle/BinaryStreamResponse.php on line 105, referer: http://10.0.5.2/Folder/Image-1 [Tue Nov 04 12:41:19.254701 2014] [:error] [pid 2594] [client 10.0.5.1:54229] PHP Stack trace:, referer: http://10.0.5.2/Folder/Image-1 [Tue Nov 04 12:41:19.254723 2014] [:error] [pid 2594] [client 10.0.5.1:54229] PHP 1. {main}() /var/www/html/ezpublish5/web/index.php:0, referer: http://10.0.5.2/Folder/Image-1 [Tue Nov 04 12:41:19.254739 2014] [:error] [pid 2594] [client 10.0.5.1:54229] PHP 2. Symfony\\Component\\HttpKernel\\Kernel->handle() /var/www/html/ezpublish5/web/index.php:77, referer: http://10.0.5.2/Folder/Image-1 [Tue Nov 04 12:41:19.254753 2014] [:error] [pid 2594] [client 10.0.5.1:54229] PHP 3. Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel->handle() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:185, referer: http://10.0.5.2/Folder/Image-1 [Tue Nov 04 12:41:19.254768 2014] [:error] [pid 2594] [client 10.0.5.1:54229] PHP 4. Symfony\\Component\\HttpKernel\\HttpKernel->handle() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php:64, referer: http://10.0.5.2/Folder/Image-1 [Tue Nov 04 12:41:19.254784 2014] [:error] [pid 2594] [client 10.0.5.1:54229] PHP 5. Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:66, referer: http://10.0.5.2/Folder/Image-1 [Tue Nov 04 12:41:19.254796 2014] [:error] [pid 2594] [client 10.0.5.1:54229] PHP 6. Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher->dispatch() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:126, referer: http://10.0.5.2/Folder/Image-1 [Tue Nov 04 12:41:19.254809 2014] [:error] [pid 2594] [client 10.0.5.1:54229] PHP 7. Symfony\\Component\\EventDispatcher\\ContainerAwareEventDispatcher->dispatch() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php:112, referer: http://10.0.5.2/Folder/Image-1 [Tue Nov 04 12:41:19.254836 2014] [:error] [pid 2594] [client 10.0.5.1:54229] PHP 8. Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php:167, referer: http://10.0.5.2/Folder/Image-1 [Tue Nov 04 12:41:19.254851 2014] [:error] [pid 2594] [client 10.0.5.1:54229] PHP 9. Symfony\\Component\\EventDispatcher\\EventDispatcher->doDispatch() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:53, referer: http://10.0.5.2/Folder/Image-1 [Tue Nov 04 12:41:19.254867 2014] [:error] [pid 2594] [client 10.0.5.1:54229] PHP 10. call_user_func:{/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:164}() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:164, referer: http://10.0.5.2/Folder/Image-1 [Tue Nov 04 12:41:19.254883 2014] [:error] [pid 2594] [client 10.0.5.1:54229] PHP 11. Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener->__invoke() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:164, referer: http://10.0.5.2/Folder/Image-1 [Tue Nov 04 12:41:19.254897 2014] [:error] [pid 2594] [client 10.0.5.1:54229] PHP 12. call_user_func:{/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php:59}() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php:59, referer: http://10.0.5.2/Folder/Image-1 [Tue Nov 04 12:41:19.254912 2014] [:error] [pid 2594] [client 10.0.5.1:54229] PHP 13. eZ\\Bundle\\EzPublishIOBundle\\EventListener\\StreamFileListener->onKernelRequest() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php:59, referer: http://10.0.5.2/Folder/Image-1 [Tue Nov 04 12:41:19.254926 2014] [:error] [pid 2594] [client 10.0.5.1:54229] PHP 14. eZ\\Bundle\\EzPublishIOBundle\\BinaryStreamResponse->__construct() /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishIOBundle/EventListener/StreamFileListener.php:64, referer: http://10.0.5.2/Folder/Image-1 [Tue Nov 04 12:41:19.254941 2014] [:error] [pid 2594] [client 10.0.5.1:54229] PHP 15. eZ\\Bundle\\EzPublishIOBundle\\BinaryStreamResponse->setFile() /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishIOBundle/BinaryStreamResponse.php:55, referer: http://10.0.5.2/Folder/Image-1 [Tue Nov 04 12:41:19.254955 2014] [:error] [pid 2594] [client 10.0.5.1:54229] PHP 16. eZ\\Bundle\\EzPublishIOBundle\\BinaryStreamResponse->setAutoLastModified() /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishIOBundle/BinaryStreamResponse.php:79, referer: http://10.0.5.2/Folder/Image-1