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
-
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.walk
method 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 update
ornpm update apostrophe
should be sufficient.An additional, related bug fix:
apos.doc.walk
no longer lists each ancestor twice in theancestors
argument to the iterator function provided by the caller.Beta Was this translation helpful? Give feedback.
All reactions