Could not Install Package from AEM 5.6.1 to AEM 6.3
Q1: I'm trying to install a "redirect" page component package from AEM 5.6.1 to AEM 6.3 through package manager. Getting an error
"javax.jcr.nodetype.ConstraintViolationException: OakConstraint0021: /apps/******/components/page/redirect/dialog/items/tabs/items/leftNav/items/leftNavURL/items/link/component-a/component-a.jsp/jcr:content[[nt:resource]]: Mandatory property jcr:data not found in a new node"
Q2: Another non-container component named "component-a" is linked under dialog item "leftNavUrl".under redirect page component. Is it possible to do so in 6.3.
link under leftNavURL which is causing the exception.
<link
jcr:primaryType="cq:Widget"
fieldDescription="Select file from the Content Finder or enter complete URL."
itemId="webURL"
name="./directLink"
xtype="pathfield">
<template-a
cq:isContainer="{Boolean}false"
jcr:description="Component A"
jcr:primaryType="cq:Component"
jcr:title="Component A"
sling:resourceSuperType="foundation/components/page">
<dialog
jcr:primaryType="cq:Dialog"
height="400"
stateful="false"
xtype="dialog">
<items jcr:primaryType="cq:WidgetCollection">
<tabs jcr:primaryType="cq:TabPanel">
<items jcr:primaryType="cq:WidgetCollection">