From e0aff12840c4489fa6edbb80eaeca0679a9b287b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20R?= Date: Tue, 6 Feb 2018 13:34:16 +0100 Subject: [PATCH 1/4] [Install] Add recommendation for installing ezplatformsearch & richtext-datatype-bundle --- INSTALL.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index 4d1cd032..0e71ee84 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -108,6 +108,17 @@ _Tip:_ composer require --update-no-dev "ezsystems/legacy-bridge:^2.0" ``` +### Recommended: Add addtional Legacy <=> eZ Platform integrations + +**[netgen/ezplatformsearch](https://github.com/netgen/ezplatformsearch)** + +When using either Solr or _(future)_ Elastic search bundle in eZ Platform, this eZ Publish extenion takes care of integrating with eZ Platform Search API, and among other things makes sure updates in legacy triggers search indexing updates, and all out of the box search featurs in eZ Publihs uses the same search index. + +**[netgen/richtext-datatype-bundle](https://github.com/netgen/NetgenRichTextDataTypeBundle)** + +If you plan to migrate some or all of your content types to eZ Platform RichText format, install this bundle which extends legacy so you can edit content also with richtext field types using raw XML editing text box. Good for cases where content migration, and also backend migration needs to happen gradually over time. + + ### Optional: Add missing legacy extensions Several ezpublish-legacy extensions are no longer installed by default with ezpublish-legacy package, such as ezfind or eztags. From 402b419a1b14bd10df0433ea2dc133fb66d53b78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20R?= Date: Tue, 6 Feb 2018 13:58:28 +0100 Subject: [PATCH 2/4] CS --- bundle/Cache/PersistenceCachePurger.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bundle/Cache/PersistenceCachePurger.php b/bundle/Cache/PersistenceCachePurger.php index 6a4b5e6e..330846e9 100644 --- a/bundle/Cache/PersistenceCachePurger.php +++ b/bundle/Cache/PersistenceCachePurger.php @@ -136,11 +136,12 @@ public function content($locationIds = null, array $contentIds = null) // if caller did not provide affected content id's, then try to load location to get it try { $tags[] = 'content-' . $this->locationHandler->load($id)->contentId; - } catch (APINotFoundException $e) {} + } catch (APINotFoundException $e) { + } } } - foreach($contentIds as $id) { + foreach ($contentIds as $id) { if (!is_scalar($id)) { throw new InvalidArgumentType('$contentIds', 'int[]|null', $id); } From a3fb66b1a62bb3b197940ee91f313f64a81de40b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20R?= Date: Tue, 6 Feb 2018 15:58:14 +0100 Subject: [PATCH 3/4] Fix review comments and additional changes --- INSTALL.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 0e71ee84..997ca9d5 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -108,15 +108,15 @@ _Tip:_ composer require --update-no-dev "ezsystems/legacy-bridge:^2.0" ``` -### Recommended: Add addtional Legacy <=> eZ Platform integrations +### Recommended: Add additional Legacy <=> eZ Platform integrations **[netgen/ezplatformsearch](https://github.com/netgen/ezplatformsearch)** -When using either Solr or _(future)_ Elastic search bundle in eZ Platform, this eZ Publish extenion takes care of integrating with eZ Platform Search API, and among other things makes sure updates in legacy triggers search indexing updates, and all out of the box search featurs in eZ Publihs uses the same search index. +When using either Solr or _(future)_ Elastic search bundle in eZ Platform, this extension makes sure eZ Platform and eZ Publish Legacy use the same search index. Technically it represents eZ Platform search engine as a eZ Publish Legacy search engine called "ezplatformsearch" for which is then used for search, indexing and delayed cronjob indexing. **[netgen/richtext-datatype-bundle](https://github.com/netgen/NetgenRichTextDataTypeBundle)** -If you plan to migrate some or all of your content types to eZ Platform RichText format, install this bundle which extends legacy so you can edit content also with richtext field types using raw XML editing text box. Good for cases where content migration, and also backend migration needs to happen gradually over time. +If you plan to migrate some or all of your content types to eZ Platform RichText format, install this bundle to make it possible to edit content with RichText field types using raw XML editing text box in eZ Publish Legacy. Good for cases where content migration, and also backend migration needs to happen gradually. ### Optional: Add missing legacy extensions From 4acd6580b6811823a105e7a7e73311cedaa2e8c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20R?= Date: Tue, 6 Feb 2018 16:46:33 +0100 Subject: [PATCH 4/4] Update INSTALL.md --- INSTALL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 997ca9d5..3d936a40 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -112,7 +112,7 @@ composer require --update-no-dev "ezsystems/legacy-bridge:^2.0" **[netgen/ezplatformsearch](https://github.com/netgen/ezplatformsearch)** -When using either Solr or _(future)_ Elastic search bundle in eZ Platform, this extension makes sure eZ Platform and eZ Publish Legacy use the same search index. Technically it represents eZ Platform search engine as a eZ Publish Legacy search engine called "ezplatformsearch" for which is then used for search, indexing and delayed cronjob indexing. +When using either Solr or _(future)_ Elastic search bundle in eZ Platform, this extension makes sure eZ Platform and eZ Publish Legacy use the same search index. Technically it represents eZ Platform search engine as a eZ Publish Legacy search engine called "ezplatformsearch" which is then used for search, indexing and delayed cronjob indexing. **[netgen/richtext-datatype-bundle](https://github.com/netgen/NetgenRichTextDataTypeBundle)**