diff --git a/VERSIONS b/VERSIONS index 18014dfa8ae2bd15e9df34fe1ebb5db8fbbb1f9f..bb55283c194de6a97e56578760d3df1a2ca1b8c1 100644 --- a/VERSIONS +++ b/VERSIONS @@ -1,3 +1,12 @@ +06/05/2016 - v7.5.25 + + - ticket #41431 : SIGB PMB : Correction de la Mention de disponibilité absente dans le pavé exemplaire en recherche + + - ticket #39778 : Amélioration de l'ergonomie du sélecteur des thèmes préférés. Tous les domaines sont à plat et triés par ordre alphabétique. + + - ticket #42356 : Adaptation au nouveau format de réponse des webservices CVS + + 02/05/2016 - v7.5.24 - ticket #41683 : Administration PNB : amélioration de l'import des notices diff --git a/VERSIONS_HOTLINE/41431 b/VERSIONS_HOTLINE/41431 deleted file mode 100644 index b49b64affd83dd471748338b0084a69b156014d4..0000000000000000000000000000000000000000 --- a/VERSIONS_HOTLINE/41431 +++ /dev/null @@ -1 +0,0 @@ - - ticket #41431 : Mention disponibilité absente dans le pavé exemplaire en recherche (portail interfacé avec PMB) \ No newline at end of file diff --git a/library/Class/Catalogue.php b/library/Class/Catalogue.php index 926320a5920a41c57e6d62b2f085ea9ba1860fe1..087fe4e2d523f3ceea76817d5b67fea1c117b74b 100644 --- a/library/Class/Catalogue.php +++ b/library/Class/Catalogue.php @@ -976,28 +976,32 @@ class Class_Catalogue extends Storm_Model_Abstract { $data_panier[]=$panier->toDataForJson(); } + return $this->toDataForJsonWithCategoriesItems($data_domaines, $data_panier, $options); + } + + + public function toDataForJsonWithCategoriesItems($categories, $items, $options = []) { return ['id' => $this->getId(), 'label' => htmlspecialchars($this->getLibelle()), - 'categories' => $data_domaines, - 'items' => $data_panier, + 'categories' => $categories, + 'items' => $items, 'options' => array_merge(['ico' => URL_ADMIN_IMG.'picto/domaines_16.png'],$options)]; } + public function toDataForJsonOneLevel($options = []) { + return $this->toDataForJsonWithCategoriesItems([], [], $options); + } + + public function toDataForJsonWithoutPaniers($options = []) { $data_domaines = []; - $data_panier = []; - $data_items = []; + $domaines= $this->getSousDomaines(); - foreach ($domaines as $domaine) { + foreach ($domaines as $domaine) $data_domaines []= $domaine->toDataForJsonWithoutPaniers($options); - } - return ['id' => $this->getId(), - 'label' => htmlspecialchars($this->getLibelle()), - 'categories' => $data_domaines, - 'items' => $data_panier, - 'options' => array_merge(['ico' => URL_ADMIN_IMG.'picto/domaines_16.png'],$options)]; + return $this->toDataForJsonWithCategoriesItems($data_domaines, [], $options); } diff --git a/library/Class/WebService/BibNumerique/CVS/AlbumParser.php b/library/Class/WebService/BibNumerique/CVS/AlbumParser.php index 3f160e58c2ed4af80656537bf7949ca1ef50a8f4..44887603f7cfdf8300ceac44c59461b4456d5f98 100644 --- a/library/Class/WebService/BibNumerique/CVS/AlbumParser.php +++ b/library/Class/WebService/BibNumerique/CVS/AlbumParser.php @@ -16,11 +16,11 @@ * * You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE * along with BOKEH; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ class Class_WebService_BibNumerique_CVS_AlbumParser { - + protected $notices=[]; protected $current_notice; @@ -72,8 +72,8 @@ class Class_WebService_BibNumerique_CVS_AlbumParser { public function endYear($data) { - $this->current_notice->setAnnee($data); - + if ($this->current_notice) + $this->current_notice->setAnnee($data); } @@ -114,7 +114,7 @@ class Class_WebService_BibNumerique_CVS_AlbumParser { public function getUrl(){ - + return $this->url; } diff --git a/library/Trait/JsonDomain.php b/library/Trait/JsonDomain.php index 168890ba371271a52050cb28bfb6cff19eacf18c..9e3a37b21cc7e1fe047597142c4148a7abeb664d 100644 --- a/library/Trait/JsonDomain.php +++ b/library/Trait/JsonDomain.php @@ -36,12 +36,20 @@ trait Trait_JsonDomain { public function getJsonCategoriesCollection() { $models = static::getLoader()->findAllCataloguesAIndexer(); + usort($models, + function($a, $b) + { + return $a->getLibelle() > $b->getLibelle(); + }); + $models_json = []; - foreach ($models as $model) - $models_json[] = $model->toDataForJsonWithoutPaniers(); + foreach ($models as $model) { + $datas = $model->toDataForJsonOneLevel(); + $datas['label'] = implode(' / ', $model->getPathParts()); + $models_json[] = $datas; + } return $models_json; } -} -?> \ No newline at end of file +} \ No newline at end of file diff --git a/library/startup.php b/library/startup.php index 2b35044f3d9c71a0886422c8726bac88221e4fd1..a6a97c615113ced8ab47c2be507c00f1ee377e09 100644 --- a/library/startup.php +++ b/library/startup.php @@ -64,7 +64,7 @@ function defineConstant($name, $value) { function setupConstants() { defineConstant('BOKEH_MAJOR_VERSION','7.5'); - defineConstant('BOKEH_RELEASE_NUMBER', BOKEH_MAJOR_VERSION . '.24'); + defineConstant('BOKEH_RELEASE_NUMBER', BOKEH_MAJOR_VERSION . '.25'); defineConstant('BOKEH_REMOTE_FILES', 'http://git.afi-sa.fr/afi/opacce/'); diff --git a/tests/application/modules/opac/controllers/AbonneControllerSettingsTest.php b/tests/application/modules/opac/controllers/AbonneControllerSettingsTest.php index 8550236b113e3744462114767707c9fdb2c76329..78b5d5588c6d5278d00a37e595bdb1945e4b2e95 100644 --- a/tests/application/modules/opac/controllers/AbonneControllerSettingsTest.php +++ b/tests/application/modules/opac/controllers/AbonneControllerSettingsTest.php @@ -45,7 +45,17 @@ abstract class AbonneControllerSettingsTestCase extends AbstractControllerTestCa $this->_cinema = $this->fixture('Class_Catalogue', ['id' => 3, - 'libelle' => 'Cinema']); + 'libelle' => 'Cinema', + 'sous_domaines' => [ $this->fixture('Class_Catalogue', + ['id' => 31, + 'libelle' => 'Muet', + 'indexer' => '1']), + + $this->fixture('Class_Catalogue', + ['id' => 32, + 'libelle' => 'Couleurs', + 'indexer' => '1']) + ]]); $this->_mel = $this->fixture('Class_Bib', ['id' => 56, @@ -123,7 +133,7 @@ class AbonneControllerSettingsFormTest extends AbonneControllerSettingsTestCase /** @test */ - public function userBookmarkedDomainShouldBeEmpty() { + public function userBookmarkedDomainShouldContainsCinema() { $this->assertEmpty($this->_user->getBookmarkedDomains()); } } @@ -162,13 +172,29 @@ class AbonneControllerSettingsFormPostTest extends AbonneControllerSettingsTestC class AbonneControllerViewableDomainTest extends AbonneControllerSettingsTestCase { public function setUp() { parent::setUp(); + Class_Catalogue::find(3)->setIndexer(1)->save(); $this->dispatch('opac/abonne/viewable-domains-json', true); } /** @test */ public function domainMusicShouldBePresent() { - $this->assertContains('[{"id":"domains","label":"Domaines","categories":[{"id":1,"label":"Music","categories":[],"items":[],"options":{"ico":', $this->_response->getBody()); + $icon = BASE_URL . '/public/admin/images/picto/domaines_16.png'; + $expected = [ + ['id' => 'domains', + 'label' => 'Domaines', + 'categories' => [ + ['id' => 3, 'label' => 'Cinema', 'categories' => [], 'items' => [], 'options' => ['ico' => $icon]], + ['id' => 32, 'label' => 'Cinema / Couleurs', 'categories' => [], 'items' => [], 'options' => ['ico' => $icon]], + ['id' => 31, 'label' => 'Cinema / Muet', 'categories' => [], 'items' => [], 'options' => ['ico' => $icon]], + ['id' => 1, 'label' => 'Music', 'categories' => [], 'items' => [], 'options' => ['ico' => $icon]], + ['id' => 2, 'label' => 'Sport', 'categories' => [], 'items' => [], 'options' => ['ico' => $icon]], + ], + 'items' => [], + 'options' => ['ico' => $icon, 'multipleSelection' => true ]]]; + + $this->assertJsonStringEqualsJsonString(json_encode($expected), + $this->_response->getBody()); } } diff --git a/tests/application/modules/opac/controllers/NoticeAjaxControllerTest.php b/tests/application/modules/opac/controllers/NoticeAjaxControllerTest.php index 0d77a6c47ae432f95f19d01a6e5295745a5fc025..4f9930368794dec833a5030cd976fc212396115a 100644 --- a/tests/application/modules/opac/controllers/NoticeAjaxControllerTest.php +++ b/tests/application/modules/opac/controllers/NoticeAjaxControllerTest.php @@ -1579,7 +1579,7 @@ class NoticeAjaxControllerNoticeWithAvisAvisTest extends NoticeAjaxControllerNot -abstract class NoticeAjaxControllerCvsSearchtest extends AbstractControllerTestCase { +abstract class NoticeAjaxControllerCvsSearchTestCase extends AbstractControllerTestCase { protected $_storm_default_to_volatile = true; public function setup() { @@ -1598,7 +1598,7 @@ abstract class NoticeAjaxControllerCvsSearchtest extends AbstractControllerTestC -class NoticeAjaxControllerCvsSearchWithNoRecordTest extends NoticeAjaxControllerCvsSearchtest { +class NoticeAjaxControllerCvsSearchWithNoRecordTest extends NoticeAjaxControllerCvsSearchTestCase { public function setUp() { parent::setUp(); @@ -1625,10 +1625,9 @@ class NoticeAjaxControllerCvsSearchWithNoRecordTest extends NoticeAjaxController -class NoticeAjaxControllerCvsWithRecordsSearchTest extends NoticeAjaxControllerCvsSearchtest { - protected $_cvs; - protected $_http_client; +abstract class NoticeAjaxControllerCvsWithRecordsSearchWithResultTestCase extends NoticeAjaxControllerCvsSearchTestCase { + protected $_http_client; public function setUp() { parent::setUp(); @@ -1641,10 +1640,6 @@ class NoticeAjaxControllerCvsWithRecordsSearchTest extends NoticeAjaxControllerC RessourcesNumeriquesFixtures::activateCVS(); - $record = $this->fixture('Class_Notice',['id'=> 10, - 'titre_principal' => 'Le photographe', - 'auteur_principal' => 'Guibert']); - $this->_cvs = Class_CVSLink::forUser($record); $this->_http_client = $this->mock(); Class_CVSLink::setTimeSource((new TimeSourceForTest)->setTime(1369640315)); @@ -1653,22 +1648,35 @@ class NoticeAjaxControllerCvsWithRecordsSearchTest extends NoticeAjaxControllerC $this->_http_client ->whenCalled('postData') - ->answers($this->_returnedXML()) - ; + ->answers($this->_returnedXML()); + + } +} + + + + +class NoticeAjaxControllerCvsWithRecordsSearchPhotographTest extends NoticeAjaxControllerCvsWithRecordsSearchWithResultTestCase { + public function setUp() { + parent::setUp(); + + $record = $this->fixture('Class_Notice',['id'=> 10, + 'titre_principal' => 'Le photographe', + 'auteur_principal' => 'Guibert']); + Class_CVSLink::forUser($record); $this->dispatch('/opac/noticeajax/cvs-search/expressionRecherche/Cuisson/page/1', true); } protected function _returnedXML() { - $xml = file_get_contents(realpath(dirname(__FILE__)). '/../../../../fixtures/cvs_search_ecole.xml'); - return $xml; + return file_get_contents(realpath(dirname(__FILE__)). '/../../../../fixtures/cvs_search_ecole.xml'); } /** @test */ - public function simpleContentShouldContainsCVSDiv() { - $this->assertXPath('//div[@id="cvs_result"]//div[@class="cvs_record_list"]', $this->_response->getBody()); + public function pageShouldContainsDivCvsResult() { + $this->assertXPath('//div[@id="cvs_result"]//div[@class="cvs_record_list"]'); } @@ -1703,6 +1711,41 @@ class NoticeAjaxControllerErrorTagsTest extends AbstractControllerTestCase { + +class NoticeAjaxControllerCvsWithRecordsSearchDelpyTest extends NoticeAjaxControllerCvsWithRecordsSearchWithResultTestCase { + public function setUp() { + parent::setUp(); + + $record = $this->fixture('Class_Notice',['id'=> 10, + 'titre_principal' => 'Musique', + 'auteur_principal' => 'Delpy']); + Class_CVSLink::forUser($record); + + $this->dispatch('/opac/noticeajax/cvs-search/expressionRecherche/Delpy/page/1', true); + } + + + protected function _returnedXML() { + return file_get_contents(realpath(dirname(__FILE__)). '/../../../../fixtures/cvs_search_delpy.xml'); + } + + + /** @test */ + public function pageShouldContainsDivCvsResult() { + $this->assertXPath('//div[@id="cvs_result"]//div[@class="cvs_record_list"]'); + } + + + /** @test */ + public function resultShouldContainsRecordTwoDaysInNewYork() { + $this->assertXPathContentContains('//div[@class="cvs_record_list"]//div[@class="vignette_titre"]/a', + '2 Days In New York'); + } +} + + + + abstract class NoticeAjaxControllerBiographieTestCase extends AbstractControllerTestCase { public function setUp() { parent::setUp(); diff --git a/tests/fixtures/cvs_search_delpy.xml b/tests/fixtures/cvs_search_delpy.xml new file mode 100644 index 0000000000000000000000000000000000000000..41fabaa1cdbc8480adb859ca2fe38d670425a5cb --- /dev/null +++ b/tests/fixtures/cvs_search_delpy.xml @@ -0,0 +1,1144 @@ +<?xml version="1.0" encoding="UTF-8"?> +<response> + <success>1</success> + <key>80b43a2b85db01c73d687e41d03efd42</key> + <time>1462264591</time> + <action>search_document</action> + <q>delpy</q> + <espace></espace> + <classement>consultes</classement> + <page>0</page> + <nombre_par_page>10</nombre_par_page> + <data> + <totalalbums>7</totalalbums> + <facets> + <pilier> + <count>6</count> + </pilier> + <pilier> + <count>1</count> + </pilier> + <frnid> + <count>2</count> + </frnid> + <frnid> + <count>1</count> + </frnid> + <frnid> + <count>2</count> + </frnid> + <frnid> + <count>1</count> + </frnid> + <frnid> + <count>1</count> + </frnid> + <albums_themes_ids> + <count>6</count> + </albums_themes_ids> + <albums_themes_ids> + <count>1</count> + </albums_themes_ids> + <albums_genres_ids> + <count>1</count> + </albums_genres_ids> + <albums_genres_ids> + <count>1</count> + </albums_genres_ids> + <albums_genres_ids> + <count>2</count> + </albums_genres_ids> + <albums_genres_ids> + <count>3</count> + </albums_genres_ids> + <albums_genres_ids> + <count>1</count> + </albums_genres_ids> + <albums_genres_ids> + <count>1</count> + </albums_genres_ids> + <albums_genres_ids> + <count>1</count> + </albums_genres_ids> + <albums_genres_ids> + <count>1</count> + </albums_genres_ids> + <reflgids> + <count>1</count> + </reflgids> + <reflgids> + <count>6</count> + </reflgids> + <reflgids> + <count>2</count> + </reflgids> + <reflgids> + <count>4</count> + </reflgids> + <reflgids> + <count>1</count> + </reflgids> + <year> + <count>1</count> + </year> + <year> + <count>1</count> + </year> + <year> + <count>1</count> + </year> + <year> + <count>1</count> + </year> + <year> + <count>1</count> + </year> + <year> + <count>1</count> + </year> + <year> + <count>1</count> + </year> + <paysids> + <count>2</count> + </paysids> + <paysids> + <count>4</count> + </paysids> + <paysids> + <count>3</count> + </paysids> + <paysids> + <count>1</count> + </paysids> + <paysids> + <count>1</count> + </paysids> + <refpublicid> + <count>7</count> + </refpublicid> + <labelid> + <count>1</count> + </labelid> + <labelid> + <count>1</count> + </labelid> + <labelid> + <count>1</count> + </labelid> + <labelid> + <count>1</count> + </labelid> + <labelid> + <count>1</count> + </labelid> + <labelid> + <count>1</count> + </labelid> + <labelid> + <count>1</count> + </labelid> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>2</count> + </albums_artists_ids> + <albums_artists_ids> + <count>5</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>2</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>2</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <albums_artists_ids> + <count>1</count> + </albums_artists_ids> + <nbunit_interval> + <count>7</count> + </nbunit_interval> + <ucfirst_real> + <count>3</count> + </ucfirst_real> + <ucfirst_real> + <count>7</count> + </ucfirst_real> + <ucfirst_real> + <count>1</count> + </ucfirst_real> + <ucfirst_real> + <count>1</count> + </ucfirst_real> + <ucfirst_real> + <count>1</count> + </ucfirst_real> + <ucfirst_title> + <count>2</count> + </ucfirst_title> + <ucfirst_title> + <count>1</count> + </ucfirst_title> + <ucfirst_title> + <count>2</count> + </ucfirst_title> + <ucfirst_title> + <count>1</count> + </ucfirst_title> + <ucfirst_title> + <count>1</count> + </ucfirst_title> + <ucfirst_label> + <count>1</count> + </ucfirst_label> + <ucfirst_label> + <count>1</count> + </ucfirst_label> + <ucfirst_label> + <count>1</count> + </ucfirst_label> + <ucfirst_label> + <count>1</count> + </ucfirst_label> + <ucfirst_label> + <count>1</count> + </ucfirst_label> + <ucfirst_label> + <count>1</count> + </ucfirst_label> + <ucfirst_label> + <count>1</count> + </ucfirst_label> + </facets> + <albums> + <album> + <pilier>2</pilier> + <docid>310432</docid> + <albumname>Eyjafjallajökull</albumname> + <albumname_orig>Eyjafjallajökull</albumname_orig> + <stitle>Le Volcan</stitle> + <stitle_orig>Le Volcan</stitle_orig> + <saison>0</saison> + <episode>0</episode> + <note>6</note> + <url>album&docid=310432</url> + <support>2</support> + <nopublish>0</nopublish> + <tds>0</tds> + <year>2013</year> + <albumreleasedate>0000-00-00</albumreleasedate> + <albumreleasetime>00:00:00</albumreleasetime> + <datfin>9999-12-31</datfin> + <datouv>2014-02-03</datouv> + <datfer>2014-08-02</datfer> + <maxtimeint>5282</maxtimeint> + <nb_pages>0</nb_pages> + <licid>17</licid> + <nbunit>18</nbunit> + <resume> Pour les voyageurs du monde entier, l’éruption du volcan islandais Eyjafjallajökull est un coup dur. Pour Alain et Valérie, c’est une catastrophe. Car pour arriver à temps dans le petit village de Grèce où se marie leur fille, ce couple de divorcés, qui se voue l’un l’autre une détestation sans borne, va être amené par la force des choses à prendre la route ensemble. </resume> + <resume_orig><p>Pour les voyageurs du monde entier, l’éruption du volcan islandais Eyjafjallajökull est un coup dur. Pour Alain et Valérie, c’est une catastrophe.</p> +<p>Car pour arriver à temps dans le petit village de Grèce où se marie leur fille, ce couple de divorcés, qui se voue l’un l’autre une détestation sans borne, va être amené par la force des choses à prendre la route ensemble.</p></resume_orig> + <genres> + <genre> + <genrename>Comédie</genrename> + <themename>Fiction</themename> + </genre> + </genres> + <haspicture>1</haspicture> + <images> + <album50image> + <src>http://stream.cvs-mediatheques.com/res/medias/album/50/432/310432.jpg</src> + <version></version> + </album50image> + <albumimage> + <src>http://stream.cvs-mediatheques.com/res/medias/album/100/432/310432.jpg</src> + <version></version> + </albumimage> + <album133image> + <src>http://stream.cvs-mediatheques.com/res/medias/album/133/432/310432.jpg</src> + <version></version> + </album133image> + <albumbigimage> + <src>http://stream.cvs-mediatheques.com/res/medias/album/300/432/310432.jpg</src> + <version></version> + </albumbigimage> + <albumorigimage> + <src>http://stream.cvs-mediatheques.com/res/medias/album/orig/432/310432.jpg</src> + <version></version> + </albumorigimage> + </images> + <labelid>13854</labelid> + <labelname>Quad films</labelname> + <artistname>Alexandre Coffre</artistname> + <artistrole>Réalisateur</artistrole> + <artists> + <artist> + <fbid>/m/0128sk12</fbid> + <artistname>Alexandre Coffre</artistname> + <artistrole>Réalisateur</artistrole> + </artist> + <artist> + <fbid>/m/0bggk7f</fbid> + <artistname>Valérie Bonneton</artistname> + <artistrole>Comédienne</artistrole> + </artist> + <artist> + <fbid>/m/03hln7k</fbid> + <artistname>Dany Boon</artistname> + <artistrole>Comédien</artistrole> + </artist> + <artist> + <fbid>nomatch</fbid> + <artistname>Denis Menochet</artistname> + <artistrole>Comédien</artistrole> + </artist> + <artist> + <fbid>/m/0bdtm5k</fbid> + <artistname>Albert Delpy</artistname> + <artistrole>Comédien</artistrole> + </artist> + <artist> + <fbid>/m/0xnpjrw</fbid> + <artistname>Malik Bentalha</artistname> + <artistrole>Comédien</artistrole> + </artist> + <artist> + <fbid>/m/0128sk12</fbid> + <artistname>Alexandre Coffre</artistname> + <artistrole>Scénariste</artistrole> + </artist> + <artist> + <fbid>nomatch</fbid> + <artistname>Yoann Gromb</artistname> + <artistrole>Scénariste</artistrole> + </artist> + <artist> + <fbid>/m/0bbfcx5</fbid> + <artistname>Laurent Zeitoun</artistname> + <artistrole>Scénariste</artistrole> + </artist> + <artist> + <fbid>nomatch</fbid> + <artistname>Thomas Roussel</artistname> + <artistrole>Compositeur</artistrole> + </artist> + </artists> + <refpublicid>0</refpublicid> + <only_in_situ>0</only_in_situ> + <demodoc></demodoc> + <datasort>9999999699</datasort> + </album> + <album> + <pilier>2</pilier> + <docid>148009</docid> + <albumname>Broken flowers</albumname> + <albumname_orig>Broken flowers</albumname_orig> + <stitle></stitle> + <stitle_orig></stitle_orig> + <saison>0</saison> + <episode>0</episode> + <note>8</note> + <url>album&docid=148009</url> + <support>2</support> + <nopublish>0</nopublish> + <tds>0</tds> + <year>2004</year> + <albumreleasedate>0000-00-00</albumreleasedate> + <albumreleasetime>00:00:00</albumreleasetime> + <datfin>2024-07-02</datfin> + <datouv>0000-00-00</datouv> + <datfer>9999-12-31</datfer> + <maxtimeint>6082</maxtimeint> + <nb_pages>0</nb_pages> + <licid>17</licid> + <nbunit>10</nbunit> + <resume> Célibataire endurci, Don Johnston vient d'être quitté par Sherry, sa dernière conquête. Alors qu'il se résigne une nouvelle fois à vivre seul, il reçoit une lettre anonyme dans laquelle une des anciennes petites amies lui apprend qu'il est le père d'un enfant de 19 ans, et que celui-ci est peut-être parti à sa recherche. Sous les conseils de son meilleur ami Winston, détective amateur, il décide de mener l'enquête afin d'éclaircir ce mystère. Malgré son tempérament casanier, le sédentaire Don se lance alors dans un long périple, au cours duquel il retrouve quatre de ses anciennes amours. A travers ces visites-surprises, Don se retrouve confronté à son passé, et, du même coup, à son présent. </resume> + <resume_orig><p><span>Célibataire endurci, Don Johnston vient d'être quitté par Sherry, sa dernière conquête. </span></p> +<p><span>Alors qu'il se résigne une nouvelle fois à vivre seul, il reçoit une lettre anonyme dans laquelle une des anciennes petites amies lui apprend qu'il est le père d'un enfant de 19 ans, et que celui-ci est peut-être parti à sa recherche. </span></p> +<p><span>Sous les conseils de son meilleur ami Winston, détective amateur, il décide de mener l'enquête afin d'éclaircir ce mystère. Malgré son tempérament casanier, le sédentaire Don se lance alors dans un long périple, au cours duquel il retrouve quatre de ses anciennes amours. </span></p> +<p><span>A travers ces visites-surprises, Don se retrouve confronté à son passé, et, du même coup, à son présent.</span></p></resume_orig> + <genres> + <genre> + <genrename>Comédie dramatique</genrename> + <themename>Fiction</themename> + </genre> + </genres> + <haspicture>1</haspicture> + <images> + <album50image> + <src>http://stream.cvs-mediatheques.com/res/medias/album/50/009/148009.jpg</src> + <version></version> + </album50image> + <albumimage> + <src>http://stream.cvs-mediatheques.com/res/medias/album/100/009/148009.jpg</src> + <version></version> + </albumimage> + <album133image> + <src>http://stream.cvs-mediatheques.com/res/medias/album/133/009/148009.jpg</src> + <version></version> + </album133image> + <albumbigimage> + <src>http://stream.cvs-mediatheques.com/res/medias/album/300/009/148009.jpg</src> + <version></version> + </albumbigimage> + <albumorigimage> + <src>http://stream.cvs-mediatheques.com/res/medias/album/orig/009/148009.jpg</src> + <version></version> + </albumorigimage> + <hascover>1</hascover> + <cover_url>http://fr.web.img3.acsta.net/medias/nmedia/18/35/79/47/18442538.jpg</cover_url> + </images> + <labelid>13136</labelid> + <labelname>Bac Films</labelname> + <artistname>Jim Jarmusch</artistname> + <artistrole>Réalisateur</artistrole> + <artists> + <artist> + <fbid>/m/0405l</fbid> + <artistname>Jim Jarmusch</artistname> + <artistrole>Réalisateur</artistrole> + </artist> + <artist> + <fbid>/m/0btpx</fbid> + <artistname>Sharon Stone</artistname> + <artistrole>Comédienne</artistrole> + </artist> + <artist> + <fbid>/m/02f2dn</fbid> + <artistname>Tilda Swinton</artistname> + <artistrole>Comédienne</artistrole> + </artist> + <artist> + <fbid>/m/0hsn_</fbid> + <artistname>Jessica Lange</artistname> + <artistrole>Comédienne</artistrole> + </artist> + <artist> + <fbid>/m/014g9y</fbid> + <artistname>Julie Delpy</artistname> + <artistrole>Comédienne</artistrole> + </artist> + <artist> + <fbid>/m/01g25r</fbid> + <artistname>Chloë Sevigny</artistname> + <artistrole>Comédienne</artistrole> + </artist> + <artist> + <fbid>/m/059_gf</fbid> + <artistname>Jeffrey Wright</artistname> + <artistrole>Comédien</artistrole> + </artist> + <artist> + <fbid>/m/0p_pd</fbid> + <artistname>Bill Murray</artistname> + <artistrole>Comédien</artistrole> + </artist> + <artist> + <fbid>nomatch</fbid> + <artistname>Mulatu Astatke</artistname> + <artistrole>Compositeur</artistrole> + </artist> + </artists> + <refpublicid>0</refpublicid> + <only_in_situ>0</only_in_situ> + <demodoc></demodoc> + <datasort>9999999700</datasort> + </album> + <album> + <pilier>2</pilier> + <docid>173855</docid> + <albumname>2 Days In New York</albumname> + <albumname_orig>2 Days In New York</albumname_orig> + <stitle></stitle> + <stitle_orig></stitle_orig> + <saison>0</saison> + <episode>0</episode> + <note>8</note> + <url>album&docid=173855</url> + <support>2</support> + <nopublish>0</nopublish> + <tds>0</tds> + <year>2011</year> + <albumreleasedate>0000-00-00</albumreleasedate> + <albumreleasetime>00:00:00</albumreleasetime> + <datfin>9999-12-31</datfin> + <datouv>0000-00-00</datouv> + <datfer>9999-12-31</datfer> + <maxtimeint>5512</maxtimeint> + <nb_pages>0</nb_pages> + <licid>17</licid> + <nbunit>16</nbunit> + <resume> Marion est désormais installée à New York, où elle vit avec Mingus, un journaliste de radio, leurs deux enfants qu'ils ont eus de relations antérieures et un chat. Le couple est très amoureux ! Marion est toujours photographe et prépare son exposition. Son père, sa soeur et son petit copain (qui est en fait l'ex de Marion et qui n'était pas prévu du tout) débarquent à New York pour le vernissage. Le choc des cultures mais surtout les personnalités débridées des trois arrivants vont provoquer un véritable feu d'artifice entre Mingus, un vrai « newyorker », Marion disjonctée sur les bords, son père qui ne parle pas un mot d'anglais, sa soeur toujours en phase avec ses problèmes freudiens, et son petit ami... no comment ! Vous pouvez deviner la suite, ou pas... </resume> + <resume_orig><p><span>Marion est désormais installée à New York, où elle vit avec Mingus, un journaliste de radio, leurs deux enfants qu'ils ont eus de relations antérieures et un chat. </span>Le couple est très amoureux ! Marion est toujours photographe et prépare son exposition.</p> +<p>Son père, sa soeur et son petit copain (qui est en fait l'ex de Marion et qui n'était pas prévu du tout) débarquent à New York pour le vernissage.</p> +<p>Le choc des cultures mais surtout les personnalités débridées des trois arrivants vont provoquer un véritable feu d'artifice entre Mingus, un vrai « newyorker », Marion disjonctée sur les bords, son père qui ne parle pas un mot d'anglais, sa soeur toujours en phase avec ses problèmes freudiens, et son petit ami... no comment !</p> +<p>Vous pouvez deviner la suite, ou pas...</p></resume_orig> + <genres> + <genre> + <genrename>Comédie</genrename> + <themename>Fiction</themename> + </genre> + </genres> + <haspicture>1</haspicture> + <images> + <album50image> + <src>http://stream.cvs-mediatheques.com/res/medias/album/50/855/173855.jpg</src> + <version></version> + </album50image> + <albumimage> + <src>http://stream.cvs-mediatheques.com/res/medias/album/100/855/173855.jpg</src> + <version></version> + </albumimage> + <album133image> + <src>http://stream.cvs-mediatheques.com/res/medias/album/133/855/173855.jpg</src> + <version></version> + </album133image> + <albumbigimage> + <src>http://stream.cvs-mediatheques.com/res/medias/album/300/855/173855.jpg</src> + <version></version> + </albumbigimage> + <albumorigimage> + <src>http://stream.cvs-mediatheques.com/res/medias/album/orig/855/173855.jpg</src> + <version></version> + </albumorigimage> + <hascover>1</hascover> + <cover_url>http://fr.web.img6.acsta.net/medias/nmedia/18/77/69/94/20034907.jpg</cover_url> + </images> + <labelid>14626</labelid> + <labelname>Rezo Films</labelname> + <artistname>Julie Delpy</artistname> + <artistrole>Réalisatrice</artistrole> + <artists> + <artist> + <fbid>/m/014g9y</fbid> + <artistname>Julie Delpy</artistname> + <artistrole>Réalisatrice</artistrole> + </artist> + <artist> + <fbid>/m/014g9y</fbid> + <artistname>Julie Delpy</artistname> + <artistrole>Comédienne</artistrole> + </artist> + <artist> + <fbid>/m/0g9n7tk</fbid> + <artistname>Alexia Landeau</artistname> + <artistrole>Comédienne</artistrole> + </artist> + <artist> + <fbid>/m/08k7kb</fbid> + <artistname>Kate Burton</artistname> + <artistrole>Comédienne</artistrole> + </artist> + <artist> + <fbid>/m/016_mj</fbid> + <artistname>Chris Rock</artistname> + <artistrole>Comédien</artistrole> + </artist> + <artist> + <fbid>/m/0bdtm5k</fbid> + <artistname>Albert Delpy</artistname> + <artistrole>Comédien</artistrole> + </artist> + <artist> + <fbid>/m/0h347y7</fbid> + <artistname>Alexandre Nahon</artistname> + <artistrole>Comédien</artistrole> + </artist> + <artist> + <fbid>/m/07nx9j</fbid> + <artistname>Dylan Baker</artistname> + <artistrole>Comédien</artistrole> + </artist> + <artist> + <fbid>/m/06qv4y</fbid> + <artistname>Daniel Brühl</artistname> + <artistrole>Comédien</artistrole> + </artist> + <artist> + <fbid>/m/014g9y</fbid> + <artistname>Julie Delpy</artistname> + <artistrole>Scénariste</artistrole> + </artist> + <artist> + <fbid>/m/0g9n7tk</fbid> + <artistname>Alexia Landeau</artistname> + <artistrole>Scénariste</artistrole> + </artist> + <artist> + <fbid>/m/0h347y7</fbid> + <artistname>Alexandre Nahon</artistname> + <artistrole>Scénariste</artistrole> + </artist> + <artist> + <fbid>/m/014g9y</fbid> + <artistname>Julie Delpy</artistname> + <artistrole>Compositeur</artistrole> + </artist> + </artists> + <refpublicid>0</refpublicid> + <only_in_situ>0</only_in_situ> + <demodoc></demodoc> + <datasort>9999999701</datasort> + </album> + <album> + <pilier>2</pilier> + <docid>636359</docid> + <albumname>Lolo</albumname> + <albumname_orig>Lolo</albumname_orig> + <stitle></stitle> + <stitle_orig></stitle_orig> + <saison>0</saison> + <episode>0</episode> + <note>9</note> + <url>album&docid=636359</url> + <support>2</support> + <nopublish>0</nopublish> + <tds>0</tds> + <year>2015</year> + <albumreleasedate>0000-00-00</albumreleasedate> + <albumreleasetime>00:00:00</albumreleasetime> + <datfin>9999-12-31</datfin> + <datouv>2016-04-01</datouv> + <datfer>9999-12-31</datfer> + <maxtimeint>5965</maxtimeint> + <nb_pages>0</nb_pages> + <licid>17</licid> + <nbunit>18</nbunit> + <resume> En thalasso à Biarritz avec sa meilleure amie, Violette, quadra parisienne travaillant dans la mode, rencontre Jean-René, un modeste informaticien fraîchement divorcé. Après des années de solitude, elle se laisse séduire. Il la rejoint à Paris, tentant de s'adapter au microcosme parisien dans lequel elle évolue. Mais c’est sans compter sur la présence de Lolo, le fils chéri de Violette, prêt à tout pour détruire le couple naissant et conserver sa place de favori. </resume> + <resume_orig><p><span>En thalasso à Biarritz avec sa meilleure amie, Violette, quadra parisienne travaillant dans la mode, rencontre Jean-René, un modeste informaticien fraîchement divorcé. <br /><br />Après des années de solitude, elle se laisse séduire. Il la rejoint à Paris, tentant de s'adapter au microcosme parisien dans lequel elle évolue. <br /><br />Mais c’est sans compter sur la présence de Lolo, le fils chéri de Violette, prêt à tout pour détruire le couple naissant et conserver sa place de favori.</span></p></resume_orig> + <genres> + <genre> + <genrename>Comédie</genrename> + <themename>Fiction</themename> + </genre> + </genres> + <haspicture>1</haspicture> + <images> + <album50image> + <src>http://stream.cvs-mediatheques.com/res/medias/album/50/359/636359.jpg</src> + <version></version> + </album50image> + <albumimage> + <src>http://stream.cvs-mediatheques.com/res/medias/album/100/359/636359.jpg</src> + <version></version> + </albumimage> + <album133image> + <src>http://stream.cvs-mediatheques.com/res/medias/album/133/359/636359.jpg</src> + <version></version> + </album133image> + <albumbigimage> + <src>http://stream.cvs-mediatheques.com/res/medias/album/300/359/636359.jpg</src> + <version></version> + </albumbigimage> + <albumorigimage> + <src>http://stream.cvs-mediatheques.com/res/medias/album/orig/359/636359.jpg</src> + <version></version> + </albumorigimage> + <hascover>1</hascover> + <cover_url>http://fr.web.img3.acsta.net/pictures/15/09/10/18/13/388359.jpg</cover_url> + </images> + <labelid>29379</labelid> + <labelname>The Film</labelname> + <artistname>Julie Delpy</artistname> + <artistrole>Réalisatrice</artistrole> + <artists> + <artist> + <fbid>/m/014g9y</fbid> + <artistname>Julie Delpy</artistname> + <artistrole>Réalisatrice</artistrole> + </artist> + <artist> + <fbid>/m/014g9y</fbid> + <artistname>Julie Delpy</artistname> + <artistrole>Comédienne</artistrole> + </artist> + <artist> + <fbid></fbid> + <artistname>Elise Larnicol</artistname> + <artistrole>Comédienne</artistrole> + </artist> + <artist> + <fbid>/m/043jn53</fbid> + <artistname>Karin Viard</artistname> + <artistrole>Comédienne</artistrole> + </artist> + <artist> + <fbid>/m/03hln7k</fbid> + <artistname>Dany Boon</artistname> + <artistrole>Comédien</artistrole> + </artist> + <artist> + <fbid>/m/0fz39rf</fbid> + <artistname>Vincent Lacoste</artistname> + <artistrole>Comédien</artistrole> + </artist> + <artist> + <fbid>/m/09f3d35</fbid> + <artistname>Christophe Vandevelde</artistname> + <artistrole>Comédien</artistrole> + </artist> + <artist> + <fbid>/m/0ckfn_</fbid> + <artistname>Bertrand Burgalat</artistname> + <artistrole>Comédien</artistrole> + </artist> + <artist> + <fbid>/m/014g9y</fbid> + <artistname>Julie Delpy</artistname> + <artistrole>Scénariste</artistrole> + </artist> + <artist> + <fbid></fbid> + <artistname>Eugénie Grandval</artistname> + <artistrole>Scénariste</artistrole> + </artist> + <artist> + <fbid>nomatch</fbid> + <artistname>Mathieu Lamboley</artistname> + <artistrole>Compositeur</artistrole> + </artist> + </artists> + <refpublicid>0</refpublicid> + <only_in_situ>0</only_in_situ> + <demodoc></demodoc> + <datasort>9999999702</datasort> + </album> + <album> + <pilier>2</pilier> + <docid>230199</docid> + <albumname>La Comtesse</albumname> + <albumname_orig>La Comtesse</albumname_orig> + <stitle>The Countess</stitle> + <stitle_orig>The Countess</stitle_orig> + <saison>0</saison> + <episode>0</episode> + <note>0</note> + <url>album&docid=230199</url> + <support>2</support> + <nopublish>0</nopublish> + <tds>0</tds> + <year>2009</year> + <albumreleasedate>0000-00-00</albumreleasedate> + <albumreleasetime>00:00:00</albumreleasetime> + <datfin>9999-12-31</datfin> + <datouv>0000-00-00</datouv> + <datfer>9999-12-31</datfer> + <maxtimeint>5742</maxtimeint> + <nb_pages>0</nb_pages> + <licid>17</licid> + <nbunit>12</nbunit> + <resume> A la mort de son mari, la comtesse Elizabeth Bathory se trouve à la tête d’un vaste domaine et d’une immense fortune. Aidée de sa confidente, la sorcière Anna Darvulia, Elizabeth étend progressivement son influence, suscitant chez chacun crainte, admiration et haine, pour devenir la femme la plus puissante de la Hongrie du 17ème siècle – dictant ses conditions jusqu’au roi lui-même. Elle rencontre alors un séduisant jeune homme dont elle tombe éperdument amoureuse mais celui-ci l’abandonne. Certaine d’avoir été délaissée car elle n’était plus assez jeune et belle. Sombrant progressivement dans la folie, Elizabeth, à la suite d’un accident, se persuade que le sang de jeunes vierges lui procure jeunesse et beauté. Elle commence à prendre des bains dans le sang des jeunes filles du château puis de la région. Débute alors une série d’actes sanglants et diaboliques… </resume> + <resume_orig><p>A la mort de son mari, la comtesse Elizabeth Bathory se trouve à la tête d’un vaste domaine et d’une immense fortune. Aidée de sa confidente, la sorcière Anna Darvulia, Elizabeth étend progressivement son influence, suscitant chez chacun crainte, admiration et haine, pour<br />devenir la femme la plus puissante de la Hongrie du 17ème siècle – dictant ses conditions jusqu’au roi lui-même.</p> +<p><br />Elle rencontre alors un séduisant jeune homme dont elle tombe éperdument amoureuse mais celui-ci l’abandonne. Certaine d’avoir été délaissée car elle n’était plus assez jeune et belle.<br />Sombrant progressivement dans la folie, Elizabeth, à la suite d’un accident, se persuade que le sang de jeunes vierges lui procure jeunesse et beauté.</p> +<p>Elle commence à prendre des bains dans le sang des jeunes filles du château puis de la région.</p> +<p>Débute alors une série d’actes sanglants et diaboliques…</p></resume_orig> + <genres> + <genre> + <genrename>Drame</genrename> + <themename>Fiction</themename> + </genre> + <genre> + <genrename>Film Historique</genrename> + <themename>Fiction</themename> + </genre> + <genre> + <genrename>Biopic</genrename> + <themename>Fiction</themename> + </genre> + </genres> + <haspicture>1</haspicture> + <images> + <album50image> + <src>http://stream.cvs-mediatheques.com/res/medias/album/50/199/230199.jpg</src> + <version></version> + </album50image> + <albumimage> + <src>http://stream.cvs-mediatheques.com/res/medias/album/100/199/230199.jpg</src> + <version></version> + </albumimage> + <album133image> + <src>http://stream.cvs-mediatheques.com/res/medias/album/133/199/230199.jpg</src> + <version></version> + </album133image> + <albumbigimage> + <src>http://stream.cvs-mediatheques.com/res/medias/album/300/199/230199.jpg</src> + <version></version> + </albumbigimage> + <albumorigimage> + <src>http://stream.cvs-mediatheques.com/res/medias/album/orig/199/230199.jpg</src> + <version></version> + </albumorigimage> + <hascover>1</hascover> + <cover_url>http://fr.web.img4.acsta.net/medias/nmedia/18/67/29/06/19309883.jpg</cover_url> + </images> + <labelid>18422</labelid> + <labelname>Celluloïd Dreams (BF)</labelname> + <artistname>Julie Delpy</artistname> + <artistrole>Réalisatrice</artistrole> + <artists> + <artist> + <fbid>/m/014g9y</fbid> + <artistname>Julie Delpy</artistname> + <artistrole>Réalisatrice</artistrole> + </artist> + <artist> + <fbid>/m/014g9y</fbid> + <artistname>Julie Delpy</artistname> + <artistrole>Comédienne</artistrole> + </artist> + <artist> + <fbid>/m/0f3t_m</fbid> + <artistname>Anamaria Marinca</artistname> + <artistrole>Comédienne</artistrole> + </artist> + <artist> + <fbid>/m/0gv5x6</fbid> + <artistname>Anna Maria Mühe</artistname> + <artistrole>Comédienne</artistrole> + </artist> + <artist> + <fbid>/m/06qv4y</fbid> + <artistname>Daniel Brühl</artistname> + <artistrole>Comédien</artistrole> + </artist> + <artist> + <fbid>/m/016khd</fbid> + <artistname>William Hurt</artistname> + <artistrole>Comédien</artistrole> + </artist> + <artist> + <fbid>/m/014g9y</fbid> + <artistname>Julie Delpy</artistname> + <artistrole>Scénariste</artistrole> + </artist> + <artist> + <fbid>/m/014g9y</fbid> + <artistname>Julie Delpy</artistname> + <artistrole>Compositeur</artistrole> + </artist> + </artists> + <refpublicid>0</refpublicid> + <only_in_situ>0</only_in_situ> + <demodoc></demodoc> + <datasort>9999999703</datasort> + </album> + <album> + <pilier>2</pilier> + <docid>432869</docid> + <albumname>Etats de choc</albumname> + <albumname_orig>Etats de choc</albumname_orig> + <stitle>The Air I Breathe</stitle> + <stitle_orig>The Air I Breathe</stitle_orig> + <saison>0</saison> + <episode>0</episode> + <note>2</note> + <url>album&docid=432869</url> + <support>2</support> + <nopublish>0</nopublish> + <tds>0</tds> + <year>2007</year> + <albumreleasedate>0000-00-00</albumreleasedate> + <albumreleasetime>00:00:00</albumreleasetime> + <datfin>9999-12-31</datfin> + <datouv>0000-00-00</datouv> + <datfer>9999-12-31</datfer> + <maxtimeint>5476</maxtimeint> + <nb_pages>0</nb_pages> + <licid>17</licid> + <nbunit>16</nbunit> + <resume> Un drame basé sur un ancien proverbe chinois, qui divise la vie en quatre émotions : bonheur, plaisir, douleur et amour. Un homme d'affaires parie sa vie sur une course de chevaux; un gangster peut voir dans l'avenir; une star de la pop tombe dans les bras d'un parrain de la pègre; un docteur se démène pour sauver l'amour de sa vie. </resume> + <resume_orig><p>Un drame basé sur un ancien proverbe chinois, qui divise la vie en quatre émotions : bonheur, plaisir, douleur et amour. <br /><br />Un homme d'affaires parie sa vie sur une course de chevaux; un gangster peut voir dans l'avenir; une star de la pop tombe dans les bras d'un parrain de la pègre; un docteur se démène pour sauver l'amour de sa vie.</p></resume_orig> + <genres> + <genre> + <genrename>Drame</genrename> + <themename>Fiction</themename> + </genre> + <genre> + <genrename>Thriller / Polar</genrename> + <themename>Fiction</themename> + </genre> + <genre> + <genrename>Romance</genrename> + <themename>Fiction</themename> + </genre> + </genres> + <haspicture>1</haspicture> + <images> + <album50image> + <src>http://stream.cvs-mediatheques.com/res/medias/album/50/869/432869.jpg</src> + <version></version> + </album50image> + <albumimage> + <src>http://stream.cvs-mediatheques.com/res/medias/album/100/869/432869.jpg</src> + <version></version> + </albumimage> + <album133image> + <src>http://stream.cvs-mediatheques.com/res/medias/album/133/869/432869.jpg</src> + <version></version> + </album133image> + <albumbigimage> + <src>http://stream.cvs-mediatheques.com/res/medias/album/300/869/432869.jpg</src> + <version></version> + </albumbigimage> + <albumorigimage> + <src>http://stream.cvs-mediatheques.com/res/medias/album/orig/869/432869.jpg</src> + <version></version> + </albumorigimage> + <hascover>1</hascover> + <cover_url>http://fr.web.img6.acsta.net/pictures/14/09/03/21/42/333744.jpg</cover_url> + </images> + <labelid>19162</labelid> + <labelname>Nala Films</labelname> + <artistname>Jieho Lee</artistname> + <artistrole>Réalisateur</artistrole> + <artists> + <artist> + <fbid>/m/02r8gls</fbid> + <artistname>Jieho Lee</artistname> + <artistrole>Réalisateur</artistrole> + </artist> + <artist> + <fbid>/m/014g9y</fbid> + <artistname>Julie Delpy</artistname> + <artistrole>Comédienne</artistrole> + </artist> + <artist> + <fbid>/m/06w6_</fbid> + <artistname>Sarah Michelle Gellar</artistname> + <artistrole>Comédienne</artistrole> + </artist> + <artist> + <fbid>/m/04954</fbid> + <artistname>Kevin Bacon</artistname> + <artistrole>Comédien</artistrole> + </artist> + <artist> + <fbid>/m/0227tr</fbid> + <artistname>Brendan Fraser</artistname> + <artistrole>Comédien</artistrole> + </artist> + <artist> + <fbid>nomatch</fbid> + <artistname>Andy Garcia</artistname> + <artistrole>Comédien</artistrole> + </artist> + <artist> + <fbid>/m/02y_2y</fbid> + <artistname>Forest Whitaker</artistname> + <artistrole>Comédien</artistrole> + </artist> + <artist> + <fbid>/m/05mkhs</fbid> + <artistname>Emile Hirsch</artistname> + <artistrole>Comédien</artistrole> + </artist> + <artist> + <fbid>/m/02r8gls</fbid> + <artistname>Jieho Lee</artistname> + <artistrole>Scénariste</artistrole> + </artist> + <artist> + <fbid>/m/02_4kr4</fbid> + <artistname>Bob DeRosa</artistname> + <artistrole>Scénariste</artistrole> + </artist> + <artist> + <fbid>/m/0ggxjj</fbid> + <artistname>Marcelo Zarvos</artistname> + <artistrole>Compositeur</artistrole> + </artist> + </artists> + <refpublicid>0</refpublicid> + <only_in_situ>0</only_in_situ> + <demodoc></demodoc> + <datasort>9999999704</datasort> + </album> + <album> + <pilier>5</pilier> + <docid>554779</docid> + <albumname>GQ</albumname> + <albumname_orig>GQ</albumname_orig> + <stitle>Mensuel</stitle> + <stitle_orig>Mensuel</stitle_orig> + <saison>0</saison> + <episode>0</episode> + <note>0</note> + <url>album&docid=554779</url> + <support>5</support> + <nopublish>2</nopublish> + <tds>0</tds> + <year>0</year> + <albumreleasedate>2015-10-14</albumreleasedate> + <albumreleasetime>00:00:00</albumreleasetime> + <datfin>9999-12-31</datfin> + <datouv>0000-00-00</datouv> + <datfer>9999-12-31</datfer> + <maxtimeint>0</maxtimeint> + <nb_pages>0</nb_pages> + <licid>19</licid> + <nbunit>7</nbunit> + <resume> 14/10/2015 007 : James Bond survivra-t-il à Daniel Craig ? Egalement au sommaire : bons baisers des French Bond girls entretien avec Julie Delpy les 30 avocats les plus puissants de France GQ Mensuel "Culture, Style, Opinions, Sexe, Sport: QG, le magazine qui parle aux hommes sur un autre ton. GQ: Masculin, beau et intelligent." </resume> + <resume_orig><div class="relay_res"><div class="live_docs"><div class="relay_cover"><span>14/10/2015</span><img src="/res/medias/album/133/779/554779.jpg" width="50px" /></div>007 : James Bond survivra-t-il à Daniel Craig ?<p>Egalement au sommaire :</p> <ul> <li>bons baisers des French Bond girls</li> <li>entretien avec Julie Delpy</li> <li>les 30 avocats les plus puissants de France</li> </ul></div><div class="publisher_desc"><h4>GQ</h4><strong>Mensuel</strong><br />"Culture, Style, Opinions, Sexe, Sport: <br />QG, le magazine qui parle aux hommes sur un autre ton. <br />GQ: Masculin, beau et intelligent."</div></div></resume_orig> + <genres> + <genre> + <genrename>Tendance</genrename> + <themename>Masculin</themename> + </genre> + </genres> + <haspicture>1</haspicture> + <images> + <album50image> + <src>http://stream.cvs-mediatheques.com/res/medias/album/50/779/554779.jpg</src> + <version></version> + </album50image> + <albumimage> + <src>http://stream.cvs-mediatheques.com/res/medias/album/100/779/554779.jpg</src> + <version></version> + </albumimage> + <album133image> + <src>http://stream.cvs-mediatheques.com/res/medias/album/133/779/554779.jpg</src> + <version></version> + </album133image> + <albumbigimage> + <src>http://stream.cvs-mediatheques.com/res/medias/album/300/779/554779.jpg</src> + <version></version> + </albumbigimage> + <albumorigimage> + <src>http://stream.cvs-mediatheques.com/res/medias/album/orig/779/554779.jpg</src> + <version></version> + </albumorigimage> + </images> + <labelid>19533</labelid> + <labelname>GQ</labelname> + <artistname></artistname> + <artistrole></artistrole> + <artists> + <artist/> + </artists> + <refpublicid>0</refpublicid> + <only_in_situ>0</only_in_situ> + <demodoc></demodoc> + <datasort>9999999705</datasort> + </album> + </albums> + <success>1</success> + <albumsmin>0</albumsmin> + <albumsmax>10</albumsmax> + <albumspagesize>7</albumspagesize> + </data> +</response> diff --git a/tests/library/ZendAfi/View/Helper/Accueil/SitoTest.php b/tests/library/ZendAfi/View/Helper/Accueil/SitoTest.php index 321c19024e33c3071ce620db3073101a23664a7a..98b871d51f87cc28092750ca783693e3eb82ac10 100644 --- a/tests/library/ZendAfi/View/Helper/Accueil/SitoTest.php +++ b/tests/library/ZendAfi/View/Helper/Accueil/SitoTest.php @@ -245,13 +245,14 @@ class SitoViewHelperSelectItemsByRandomOrderTest extends SitoViewHelperTestCase for($i=0; $i < 10; $i++) $htmls[] = $this->_helper->getBoite(); - $this->assertEquals(2, count(array_unique($htmls))); + $this->assertEquals(2, count(array_unique($htmls)), json_encode($htmls)); } /** @test */ public function pageShouldNotContainsLinkToReloadModule() { - $this->assertNotXPath($this->html, '//a[contains(@href, "sito/widget-page/id_module/2/id_division/1")]'); + $this->assertNotXPath($this->html, + '//a[contains(@href, "sito/widget-page/id_module/2/id_division/1")]'); } }