Apostrophe 4.5.2: hotfix for regression affecting search when "ancestors" configuration is more inclusive #4636
boutell
announced in
Release Notes
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Starting with release 4.4.0, it has been possible for the search module to enter an infinite loop on the server side under certain conditions, e.g. circular references were possible in the data.
Starting with release 4.5.2, the
apos.doc.walkmethod automatically detects circular references and does not pursue them.This is a recommended upgrade for those using Apostrophe's full-site search feature and Apostrophe 4.4.0 or later.
npm updateornpm update apostropheshould be sufficient.An additional, related bug fix:
apos.doc.walkno longer lists each ancestor twice in theancestorsargument to the iterator function provided by the caller.Beta Was this translation helpful? Give feedback.
All reactions