Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
0.1
-
Quasar
-
Puma Sprint 240
Description
The method in ExperiencePageService
HstComponentConfiguration loadExperiencePageComponentItem(Node componentItem, HstSite hstSite, ClassLoader websiteClassLoader);
is to support loading a single component (item). However when doing so, a warning is logged in HstComponentConfigurationService in
if (!isCatalogItem && (parent == null || !(Type.CONTAINER_COMPONENT.equals(parent.getComponentType())))) { log.warn("Component of type '{}' at '{}' is not configured below a '{}' node. This is not allowed. " + "Either change the primary nodetype to '{}' or '{}' or move the node below a node of type '{}'.", new String[]{NODETYPE_HST_CONTAINERITEMCOMPONENT, canonicalStoredLocation, NODETYPE_HST_CONTAINERCOMPONENT, NODETYPE_HST_CONTAINERCOMPONENT, HstNodeTypes.NODETYPE_HST_COMPONENT, NODETYPE_HST_CONTAINERCOMPONENT}); }
it is because the component items is not a catalog item and also the parent is null since loaded in isolation
This warning should be avoided