dialog is not able to fetch previously authored href values for rte inside multifield
Hi,
My dialog looks like below
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:granite="http://www.adobe.com/jcr/granite/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="nt:unstructured"
jcr:title="Research"
sling:resourceType="cq/gui/components/authoring/dialog"
helpPath="">
<content
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/tabs">
<items jcr:primaryType="nt:unstructured">
<tab1
jcr:primaryType="nt:unstructured"
jcr:title="FAQ"
sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
<issue
jcr:primaryType="nt:unstructured"
sling:resourceType="cq/gui/components/authoring/dialog/richtext"
fieldLabel="Issue (H2 Tag)"
name="./issue"
useFixedInlineToolbar="{Boolean}true"
<rtePlugins
jcr:primaryType="nt:unstructured"
sling:resourceSuperType="/apps/<Myprojectfolder>/components/utility/rtePluginsTouch/rtePlugins"/>
<uiSettings
jcr:primaryType="nt:unstructured"
sling:resourceSuperType="/apps/<Myprojectfolder>/components/utility/rtePluginsTouch/uiSettings"/>
</issue>
<sol-list
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/multifield"
fieldLabel="Solutions List">
<field
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container"
name="./sollist">
<items jcr:primaryType="nt:unstructured">
<column
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
<fieldSetName
jcr:primaryType="nt:unstructured"
multiple="{Boolean}true"
sling:resourceType="granite/ui/components/coral/foundation/accordion"
variant="default">
<items jcr:primaryType="nt:unstructured">
<fieldSet
jcr:primaryType="nt:unstructured"
jcr:title="Solution Item"
sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
<solution
jcr:primaryType="nt:unstructured"
sling:resourceType="cq/gui/components/authoring/dialog/richtext"
fieldLabel="Solution"
fieldDescription="Recommended character count 300"
name="solution"
useFixedInlineToolbar="{Boolean}true">
<rtePlugins
jcr:primaryType="nt:unstructured"
sling:resourceSuperType="/apps/<Myprojectfolder>/components/utility/rtePluginsTouch/rtePlugins"/>
<uiSettings
jcr:primaryType="nt:unstructured"
sling:resourceSuperType="/apps/<Myprojectfolder>/components/utility/rtePluginsTouch/uiSettings"/>
</answer>
</items>
<parentConfig
jcr:primaryType="nt:unstructured"
active="{Boolean}true"/>
</fieldSet>
</items>
</fieldSetName>
</items>
</column>
</items>
</field>
<granite:data
jcr:primaryType="nt:unstructured"
cq-dialog-multifield-label="Add Solutions"/>
</sol-list>
</items>
</tab1>
</items>
</content>
</jcr:root>
This is a simple dialog with an issue as title and a multifield for adding multiple solutions. I am using Richtext for both the fields. But the richtext for field inside multifield is having intermittent issues in loading href tags for previously authored links. Target tag is loading properly. Only href tag is missing if I see the source code. Because of this, when I add a new link, previous links are disappearing.
Not sure why am getting the issue only inside multifield. Please suggest me how to fix this.