You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.
Using an XML with cq tags to create a page in AEM via ActionsController.execute(AemActions.CREATE_PAGE_VIA_SLING, new SlingPageData(pathToPage, SlingDataXMLBuilder.buildFromfile(pathToXml))
Expected Behavior
A page is created successfully
Actual Behavior
A server error occurs ERROR [sling-oak-observation-16] com.day.cq.tagging.impl.TagValidatingEventListener Error while handling event '4'
javax.jcr.ValueFormatException: cq:tags = [we-retail:activity/hiking,we-retail:activity/running] is single-valued.
Environment
Bobcat version:
2.1.0
Bobcat modules used:
Browser + version:
Chrome 76
Description
Using an XML with cq tags to create a page in AEM via ActionsController.execute(AemActions.CREATE_PAGE_VIA_SLING, new SlingPageData(pathToPage, SlingDataXMLBuilder.buildFromfile(pathToXml))
Expected Behavior
A page is created successfully
Actual Behavior
A server error occurs
ERROR [sling-oak-observation-16] com.day.cq.tagging.impl.TagValidatingEventListener Error while handling event '4'
javax.jcr.ValueFormatException: cq:tags = [we-retail:activity/hiking,we-retail:activity/running] is single-valued.
<?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" jcr:primaryType="cq:Page"> <jcr:content cq:tags="[we-retail:activity/hiking,we-retail:activity/running]" cq:template="/conf/we-retail/settings/wcm/templates/content-page" jcr:primaryType="cq:PageContent" jcr:title="List Item 01" sling:resourceType="weretail/components/structure/page" navTitle="List Item 01" pageTitle="List Item 01"> <root jcr:primaryType="nt:unstructured" sling:resourceType="wcm/foundation/components/responsivegrid"> <responsivegrid jcr:primaryType="nt:unstructured" sling:resourceType="wcm/foundation/components/responsivegrid"> <breadcrumb jcr:primaryType="nt:unstructured" sling:resourceType="weretail/components/content/breadcrumb" absParent="5" hideCurrent="true" relParent="1" startLevel="5"/> </responsivegrid> </root> </jcr:content> </jcr:root>
The text was updated successfully, but these errors were encountered: