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

PageRewriter Rule - All Rules are not processed (Issue in new 2.0 release) #94

Closed nanadobe closed 2 years ago

nanadobe commented 2 years ago

Expected Behaviour

PageRewriteRule is factory configuration, added few conversions for each static templates conversion but during Page conversion only one rule is processed.

Actual Behaviour

Page conversion should process all the configured rules

Reproduce Scenario (including but not limited to)

  1. Create couple of PageRewriter configuration
  2. Run the page conversion, process only one rule and exits.

Steps to Reproduce

  1. Factory configuration created for PageRewirteRule ( to convert say /apps/demo/templates/template1)
  2. Added second configuration (to convert /apps/demo/templates/template2)
  3. Now when page conversion on page which has /apps/demo/templates/template2 but though release is present, it didn't convert the page structure.

Platform and Version

Latest AEM SDK

Sample Code that illustrates the problem

Logs taken while reproducing problem