Closed mikeumus closed 11 years ago
I have an idea of what will be causing this. I'll take a go at it tomorrow. Will likely be a backwards incompatible change. Probably, instead of doing @document.relatedDocuments
, instead you will need to do @getRelatedDocuments(@document)
instead (this isn't coded yet, just a brainstorm). As the issue will be the database cache hits a cyclic loop due to the related documents when trying to serialize the database, so instead of storing the related documents as a model attribute, we store it as a model attribute (already done), but expose it via a template helper (not yet done).
Published. Check the readme for the new docs :)
Thanks again for saving the day @balupton. :+1:
Originally via @Aglezabad - bevry/docpad/issues/719
DocPad v6.55.3 Node v0.10.21 npm v1.3.11 Windows 8.1 - Windows Surface Pro 1
docpad run
fails in the following:Also as per @Aglezabad, docpad-plugin-related is the culprit here.