Skip to content
Snippets Groups Projects
Commit effacbbd2d10 authored by Philippe Pepiot's avatar Philippe Pepiot
Browse files

[views] fix possible infinite recursion loop in rssitem view

I found this while executing some AutomaticWebTest on dependent cubes, but this case can occur anyway.

rssitem call rssitem view recursively following "comments" relation, so we may
enter in a loop here.

Fix this by using a "seen" set() which is passed resursively and we skip
already processed entities.
Add a basic test using a comment commenting a comment commenting the first one.
parent da2d182b0136
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment