aem-core-wcm-components icon indicating copy to clipboard operation
aem-core-wcm-components copied to clipboard

WARN log spam from unauthored Content Fragment List

Open HitmanInWis opened this issue 1 year ago • 0 comments

Bug Present as of Version: 2.25.5-SNAPSHOT

Bug Report

Current Behavior Whenever a new Content Fragment List component is added to a page, or a page is loaded with the unauthored Content Fragment List component, the component spams the log with the following WARN:

09.08.2024 12:37:31.684 *WARN* [[0:0:0:0:0:0:0:1] [1723225051641] GET /content/core-components-examples/library/core-content/content-fragment-list/jcr:content/root/responsivegrid/contentfragmentlist.html HTTP/1.1] com.adobe.cq.wcm.core.components.internal.models.v1.contentfragment.ContentFragmentListImpl Please provide a model path

Expected behavior/code Components generally don't log warnings about not yet being authored (this is a normal state). Of course the query returns no results if the model path is not selected, so this log statement should simply be removed.

HitmanInWis avatar Aug 09 '24 17:08 HitmanInWis