I am using an RTE inside the coral multifield dialog. Foundation.js is throwing this error "The field doesn't support FoundationField#setName" While trying to add a multifield. This is causing issue while saving the dialog. Values are not getting stored inside component nodes properly. I have added composite={Boolean}true property in the multifield. Still issue is happening. This issue is happening only with RTE inside multifield.
解決済! 解決策の投稿を見る。
トピックはコミュニティのコンテンツの分類に役立ち、関連コンテンツを発見する可能性を広げます。
表示
返信
いいね!の合計
@kautuk_sahni We have found that the issue was happening in the environment as the coral3 js code was overridden by custom code from another tenant and it is missing a validation method for the RTE field. We have added the missing method and resolved the issue.
表示
返信
いいね!の合計
<content
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
<tabs
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/tabs"
maximized="{Boolean}true">
<items jcr:primaryType="nt:unstructured">
<tabitems
jcr:primaryType="nt:unstructured"
jcr:title="Items"
sling:resourceType="granite/ui/components/coral/foundation/container"
margin="{Boolean}true">
<items jcr:primaryType="nt:unstructured">
<columns
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/fixedcolumns"
margin="{Boolean}true">
<items jcr:primaryType="nt:unstructured">
<columns
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
<multi
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/multifield"
composite="{Boolean}true"
max-items="5">
<field
granite:class="cmp-teaser__editor-action"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container"
name="./multifieldItems">
<items jcr:primaryType="nt:unstructured">
<title
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldLabel="Title"
name="./title"
required="{Boolean}true"/>
<description
jcr:primaryType="nt:unstructured"
sling:resourceType="cq/gui/components/authoring/dialog/richtext"
fieldLabel="Description"
name="./description"
removeSingleParagraphContainer="{Boolean}true"
required="{Boolean}true"
useFixedInlineToolbar="{Boolean}true">
</description>
</items>
</field>
</multi>
</items>
</columns>
</items>
</columns>
</items>
</tabitems>
</items>
</tabs>
</items>
</content>
Same is working fine in local , issue is in another environment. But both have same versions of service pack.
some references - please check it
@salih_ep Did you find the suggestion helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
表示
返信
いいね!の合計
@kautuk_sahni We have found that the issue was happening in the environment as the coral3 js code was overridden by custom code from another tenant and it is missing a validation method for the RTE field. We have added the missing method and resolved the issue.
表示
返信
いいね!の合計