Skip to content

Commit

Permalink
Add recommendation for installing ezplatformsearch & richtext-datatyp…
Browse files Browse the repository at this point in the history
…e-bundle (#143)

* [Install] Add recommendation for installing ezplatformsearch & richtext-datatype-bundle

* CS

* Fix review comments and additional changes

* Update INSTALL.md
  • Loading branch information
andrerom authored Feb 6, 2018
1 parent 0cf7138 commit 77dcf6a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
11 changes: 11 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,17 @@ _Tip:_
composer require --update-no-dev "ezsystems/legacy-bridge:^2.0"
```

### 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 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)**

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

Several ezpublish-legacy extensions are no longer installed by default with ezpublish-legacy package, such as ezfind or eztags.
Expand Down
5 changes: 3 additions & 2 deletions bundle/Cache/PersistenceCachePurger.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 77dcf6a

Please sign in to comment.