adobe / aem-modernize-tools

A suite of tools to modernize your AEM Sites implementations off legacy features.
http://opensource.adobe.com/aem-modernize-tools/
Apache License 2.0
64 stars 42 forks source link

Infinite Loop if Rule doesn't change Node state #99

Closed bstopp closed 2 years ago

bstopp commented 2 years ago

Expected Behaviour

If a rule matches a node, it should not be attempted on that node again during the Tree Rewrite process.

Actual Behaviour

When a rule matches a node but does not make enough changes for the matches to return false after the update, the ComponentTreeRewriter enters an infinite loop.

Platform and Version

v2.0.12