ME-Include infinite nesting logic fails when nested ME-Include includes ME from same page

Description

This specific nesting scenario results in the infinite nesting detection logic issuing a false positive

STEPS TO REPRODUCE:

  • disable caching for ME in the admin tool

  • on page named "Nested ME-Include"

  • create ME named "ME-B" containing simple text

  • create ME named "ME-A" containing a nested ME-Include that includes ME-B

  • It renders fine when you publish the page

  • on a second page named whatever

  • create an ME-Include that includes ME-A from page "Nested ME-Include"

  • when published, the page renders the error for infinite nesting:

Freshdesk Tickets

None

Create a Support Ticket

Fixed

Assignee

Ture Hoefner

Reporter

Ture Hoefner

Labels

None

Product

None

Fix versions

Priority

Major