adobe / aem-core-wcm-components

Standardized components to build websites with AEM.
https://docs.adobe.com/content/help/en/experience-manager-core-components/using/introduction.html
Apache License 2.0
747 stars 753 forks source link

WARN log spam from unauthored Content Fragment List #2837

Open HitmanInWis opened 3 months ago

HitmanInWis commented 3 months ago

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.