hotline#113974 : Moderation : error displaying page when external thumbnail…
Merged
requested to merge hotline#113974_module_moderation_erreur_500_sur_la_recuperation_de_vignette_artevod into hotline
3 unresolved threads
hotline#113974 : Moderation : error displaying page when external thumbnail ressource is unavailable
Merge request reports
Activity
Filter activity
- Resolved by Henri-Damien LAURENT
added 1 commit
- ad84c0c7 - hotline#113974 : Moderation : error displaying page when external thumbnail…
38 38 if (!$url = $album->getPoster()) 39 39 return null; 40 40 41 if ((new Class_WebService_BibNumerique_Vignette())->downloadPoster($album)) 42 return $album->getVignettePath(); 41 try{ changed this line in version 3 of the diff
38 38 if (!$url = $album->getPoster()) 39 39 return null; 40 40 41 if ((new Class_WebService_BibNumerique_Vignette())->downloadPoster($album)) 42 return $album->getVignettePath(); 41 try{ 42 if ((new Class_WebService_BibNumerique_Vignette())->downloadPoster($album)) 43 return $album->getVignettePath(); 44 } catch (Exception $e) {return null;} changed this line in version 3 of the diff
766 'type_doc' => Class_TypeDoc::ARTEVOD]); 767 768 $this->fixture('Class_Exemplaire', 769 ['id'=> 10, 770 'id_notice'=> 10, 771 'type' => Class_TypeDoc::ARTEVOD]); 772 773 $this->fixture('Class_Album', 774 ['id' => 42, 775 'titre' => 'Le Photographe', 776 'fichier' => 'potter.jpg', 777 'notice_id' => 10, 778 'type_doc_id' => Class_TypeDoc::ARTEVOD]) 779 ->addPosterURI('http://cache.org/test/image.jpg'); 780 781 $this->_http_client = $this->mock() changed this line in version 3 of the diff
added 1 commit
- 6148df4e - hotline#113974 : Moderation : error displaying page when external thumbnail…
enabled an automatic merge when the pipeline for 6148df4e succeeds
mentioned in commit d7df3b0e