coderedcorp / coderedcorp/coderedcms
RecursionError using Latest Pages block with article pages
- Dominant language
- Python
- Stars
- 765
- Forks
- 154
- PR merge metrics
- No merged PRs in 30d
Description
#### Describe the bug
When using Latest Pages block on an article page, and selecting parent article landing page as source, if the current article page is in the listed latest pages, it crashes. The article landing page is also crashing.
#### Steps to reproduce
Steps to reproduce the behavior:
1. On an article page, use the Latest Pages block
2. Select parent page of current article as source
3. Select any number of pages to list, making sure the current page will be listed with the ordering specified in the parent’s LAYOUT tab.
4. RecursionError
#### Expected behavior
It should list all latest pages, including or excluding the current page.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.