Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Granite PathField not storing value after 6.3.2.2 upgrade

Avatar

Level 1

Hi All,

I am not able to store the dialog values in Granite PathField not storing value after 6.3.2.2 upgrade. It is not storing value in the CRX.

Please help. Attached is the code

<?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="Related Content"

    sling:resourceType="cq/gui/components/authoring/dialog">

    <content

        granite:class="relatedcontent-component"

        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">

                    <relatedcontent

                        jcr:primaryType="nt:unstructured"

                        jcr:title="Related Content"

                        sling:resourceType="granite/ui/components/coral/foundation/container">

                        <items jcr:primaryType="nt:unstructured">

                            <headline

                                jcr:primaryType="nt:unstructured"

                                sling:resourceType="granite/ui/components/coral/foundation/form/textfield"

                                fieldLabel="Enter the section headline"

                                name="./headline"/>

                            <relatedcontentintro

                                jcr:primaryType="nt:unstructured"

                                sling:resourceType="cq/gui/components/authoring/dialog/richtext"

                                fieldLabel="Enter related content intro"

                                name="./relatedContentIntro"

                                useFixedInlineToolbar="{Boolean}true">

                                <rtePlugins jcr:primaryType="nt:unstructured">

                                    <edit

                                        jcr:primaryType="nt:unstructured"

                                        defaultPasteMode="wordhtml"

                                        features="[cut,copy,paste-plaintext,paste-wordhtml]"

                                        stripHtmlTags="{Boolean}true"/>

                                    <findreplace

                                        jcr:primaryType="nt:unstructured"

                                        features="*"/>

                                    <format

                                        jcr:primaryType="nt:unstructured"

                                        features="*"/>

                                    <image

                                        jcr:primaryType="nt:unstructured"

                                        features="*"/>

                                    <justify

                                        jcr:primaryType="nt:unstructured"

                                        features="*"/>

                                    <links jcr:primaryType="nt:unstructured">

                                        <linkDialogConfig

                                            jcr:primaryType="nt:unstructured"

                                            height="{Long}316">

                                            <linkAttributes jcr:primaryType="cq:WidgetCollection"/>

                                        </linkDialogConfig>

                                    </links>

                                    <lists

                                        jcr:primaryType="nt:unstructured"

                                        features="*"/>

                                    <misctools

                                        jcr:primaryType="nt:unstructured"

                                        features="*">

                                        <specialCharsConfig jcr:primaryType="nt:unstructured">

                                            <chars jcr:primaryType="nt:unstructured">

                                                <copyright

                                                    jcr:primaryType="nt:unstructured"

                                                    entity="©"/>

                                                <trademark

                                                    jcr:primaryType="nt:unstructured"

                                                    entity="™"/>

                                                <registered

                                                    jcr:primaryType="nt:unstructured"

                                                    entity="®"/>

                                                <emDash

                                                    jcr:primaryType="nt:unstructured"

                                                    entity="—"/>

                                                <dagger

                                                    jcr:primaryType="nt:unstructured"

                                                    entity="†"/>

                                                <doubleDagger

                                                    jcr:primaryType="nt:unstructured"

                                                    entity="‡"/>

                                            </chars>

                                        </specialCharsConfig>

                                    </misctools>

                                    <paraformat

                                        jcr:primaryType="nt:unstructured"

                                        features="*">

                                        <formats jcr:primaryType="cq:WidgetCollection">

                                            <p

                                                jcr:primaryType="nt:unstructured"

                                                description="Paragraph"

                                                tag="p"/>

                                            <h2

                                                jcr:primaryType="nt:unstructured"

                                                description="Heading 2"

                                                tag="h2"/>

                                            <h3

                                                jcr:primaryType="nt:unstructured"

                                                description="Heading 3"

                                                tag="h3"/>

                                            <h4

                                                jcr:primaryType="nt:unstructured"

                                                description="Heading 4"

                                                tag="h4"/>

                                            <h5

                                                jcr:primaryType="nt:unstructured"

                                                description="Heading 5"

                                                tag="h5"/>

                                            <h6

                                                jcr:primaryType="nt:unstructured"

                                                description="Heading 6"

                                                tag="h6"/>

                                        </formats>

                                    </paraformat>

                                    <spellcheck

                                        jcr:primaryType="nt:unstructured"

                                        features="*"

                                        invalidStyle="background-color: #ffdddd;"/>

                                    <subsuperscript

                                        jcr:primaryType="nt:unstructured"

                                        features="*"/>

                                    <table

                                        jcr:primaryType="nt:unstructured"

                                        features="*"/>

                                    <undo

                                        jcr:primaryType="nt:unstructured"

                                        features="*"/>

                                    <global-plugin

                                        jcr:primaryType="nt:unstructured"

                                        features="*"/>

                                    <styles

                                        jcr:primaryType="nt:unstructured"

                                        features="*">

                                        <styles jcr:primaryType="nt:unstructured">

                                            <p-intro

                                                jcr:primaryType="nt:unstructured"

                                                cssName="p-intro"

                                                text="Intro Paragraph"/>

                                            <p-intro-lg

                                                jcr:primaryType="nt:unstructured"

                                                cssName="p-intro-lg"

                                                text="Intro Paragraph - Large"/>

                                            <p-small

                                                jcr:primaryType="nt:unstructured"

                                                cssName="p-small"

                                                text="Paragraph - Small"/>

                                            <p

                                                jcr:primaryType="nt:unstructured"

                                                cssName="p"

                                                text="Paragraph"/>

                                        </styles>

                                    </styles>

                                </rtePlugins>

                                <htmlRules jcr:primaryType="nt:unstructured">

                                    <docType jcr:primaryType="nt:unstructured">

                                        <typeConfig

                                            jcr:primaryType="nt:unstructured"

                                            useSemanticMarkup="{Boolean}true"/>

                                    </docType>

                                </htmlRules>

                                <uiSettings jcr:primaryType="nt:unstructured">

                                    <cui jcr:primaryType="nt:unstructured">

                                        <inline

                                            jcr:primaryType="nt:unstructured"

                                            toolbar="[#format,-,#justify,-,#lists,-,links#modifylink,links#unlink,links#anchor,-,#paraformat,-,#styles,-,subsuperscript#subscript,subsuperscript#superscript,-,edit#cut,edit#copy,edit#paste-plaintext,edit#paste-wordhtml,-,findreplace#find,findreplace#replace,-,spellcheck#checktext,-,undo#undo,undo#redo,-,misctools#specialchars,misctools#sourceedit,-,table#table,global-plugin#colorPicker]">

                                            <popovers jcr:primaryType="nt:unstructured">

                                                <format

                                                    jcr:primaryType="nt:unstructured"

                                                    items="[format#bold,format#italic,format#underline]"

                                                    ref="format"/>

                                                <justify

                                                    jcr:primaryType="nt:unstructured"

                                                    items="[justify#justifyleft,justify#justifycenter,justify#justifyright]"

                                                    ref="justify"/>

                                                <lists

                                                    jcr:primaryType="nt:unstructured"

                                                    items="[lists#unordered,lists#ordered,lists#outdent,lists#indent]"

                                                    ref="lists"/>

                                                <styles

                                                    jcr:primaryType="nt:unstructured"

                                                    items="styles:getStyles:styles-pulldown"

                                                    ref="styles"/>

                                                <paraformat

                                                    jcr:primaryType="nt:unstructured"

                                                    items="paraformat:getFormats:paraformat-pulldown"

                                                    ref="paraformat"/>

                                            </popovers>

                                        </inline>

                                        <tableEditOptions

                                            jcr:primaryType="nt:unstructured"

                                            toolbar="[table#insertcolumn-before,table#insertcolumn-after,table#removecolumn,-,table#insertrow-before,table#insertrow-after,table#removerow,-,table#mergecells-right,table#mergecells-down,table#mergecells,table#splitcell-horizontal,table#splitcell-vertical,-,table#selectrow,table#selectcolumn,-,table#ensureparagraph,-,table#modifytableandcell,table#removetable,-,undo#undo,undo#redo,-,table#exitTableEditing,-]"/>

                                        <dialogFullScreen

                                            jcr:primaryType="nt:unstructured"

                                            toolbar="[#format,-,#justify,-,#lists,-,links#modifylink,links#unlink,links#anchor,-,#paraformat,-,#styles,-,subsuperscript#subscript,subsuperscript#superscript,-,edit#cut,edit#copy,edit#paste-plaintext,edit#paste-wordhtml,-,findreplace#find,findreplace#replace,-,spellcheck#checktext,-,undo#undo,undo#redo,-,misctools#specialchars,misctools#sourceedit,-,table#table,global-plugin#colorPicker]">

                                            <popovers jcr:primaryType="nt:unstructured">

                                                <format

                                                    jcr:primaryType="nt:unstructured"

                                                    items="[format#bold,format#italic,format#underline]"

                                                    ref="format"/>

                                                <justify

                                                    jcr:primaryType="nt:unstructured"

                                                    items="[justify#justifyleft,justify#justifycenter,justify#justifyright]"

                                                    ref="justify"/>

                                                <lists

                                                    jcr:primaryType="nt:unstructured"

                                                    items="[lists#unordered,lists#ordered,lists#outdent,lists#indent]"

                                                    ref="lists"/>

                                                <styles

                                                    jcr:primaryType="nt:unstructured"

                                                    items="styles:getStyles:styles-pulldown"

                                                    ref="styles"/>

                                                <paraformat

                                                    jcr:primaryType="nt:unstructured"

                                                    items="paraformat:getFormats:paraformat-pulldown"

                                                    ref="paraformat"/>

                                            </popovers>

                                        </dialogFullScreen>

                                    </cui>

                                </uiSettings>

                            </relatedcontentintro>

                            <list

                                granite:class="related-content-multifield"

                                jcr:primaryType="nt:unstructured"

                                sling:resourceType="granite/ui/components/coral/foundation/form/multifield"

                                composite="{Boolean}true"

                                fieldDescription="Click 'Add' button to add a new field"

                                fieldLabel="Related Content Items"

                                name="./multiCol">

                                <field

                                    granite:class="coral-Well"

                                    jcr:primaryType="nt:unstructured"

                                    sling:resourceType="granite/ui/components/coral/foundation/container"

                                    name="./list">

                                    <items jcr:primaryType="nt:unstructured">

                                        <imageUrl

                                            jcr:primaryType="nt:unstructured"

                                            sling:resourceType="granite/ui/components/coral/foundation/form/pathfield"

                                            fieldLabel="Select/Enter the Image URL"

                                            name="./imageUrl"

                                            required="{Boolean}false"

                                            rootPath="/content/dam/"/>

                                        <headline

                                            jcr:primaryType="nt:unstructured"

                                            sling:resourceType="granite/ui/components/coral/foundation/form/textfield"

                                            fieldLabel="Enter the headline"

                                            name="./headline"

                                            required="{Boolean}false"/>

                                        <subHeadline

                                            jcr:primaryType="nt:unstructured"

                                            sling:resourceType="granite/ui/components/coral/foundation/form/textfield"

                                            fieldLabel="Enter Sub headline"

                                            name="./subHeadline"/>

                                        <description

                                            jcr:primaryType="nt:unstructured"

                                            sling:resourceType="granite/ui/components/coral/foundation/form/textarea"

                                            fieldLabel="Enter the description"

                                            name="./description"

                                            required="{Boolean}false"/>

                                        <callToActionText

                                            jcr:primaryType="nt:unstructured"

                                            sling:resourceType="granite/ui/components/coral/foundation/form/textfield"

                                            fieldLabel="Enter the link text"

                                            name="./callToActionText"

                                            required="{Boolean}false"/>

                                        <callToActionLink

                                            jcr:primaryType="nt:unstructured"

                                            sling:resourceType="granite/ui/components/coral/foundation/form/pathfield"

                                            fieldLabel="Enter the link URL"

                                            name="./callToActionLink"

                                            required="{Boolean}false"

                                            rootPath="/content/"/>

                                        <offerType

                                            granite:class="offertype-dropdown"

                                            jcr:primaryType="nt:unstructured"

                                            sling:resourceType="granite/ui/components/coral/foundation/form/select"

                                            fieldLabel="Select an Offer Type"

                                            multiple="{Boolean}false"

                                            name="./offerType"

                                            required="{Boolean}false">

                                            <items jcr:primaryType="nt:unstructured">

                                                <article

                                                    jcr:primaryType="nt:unstructured"

                                                    text="Article"

                                                    value="article"/>

                                                <conference

                                                    jcr:primaryType="nt:unstructured"

                                                    text="Conference"

                                                    value="conference"/>

                                                <ebook

                                                    jcr:primaryType="nt:unstructured"

                                                    text="E-Book"

                                                    value="E-Book"/>

                                                <other

                                                    jcr:primaryType="nt:unstructured"

                                                    text="Other"

                                                    value="other"/>

                                                <press

                                                    jcr:primaryType="nt:unstructured"

                                                    text="Press"

                                                    value="press"/>

                                                <research

                                                    jcr:primaryType="nt:unstructured"

                                                    text="Research"

                                                    value="research"/>

                                                <webinar

                                                    jcr:primaryType="nt:unstructured"

                                                    text="Webinar"

                                                    value="webinar"/>

                                            </items>

                                        </offerType>

                                        <otherOfferTypeText

                                            granite:class="other-offertype-textfield"

                                            jcr:primaryType="nt:unstructured"

                                            sling:resourceType="granite/ui/components/coral/foundation/form/textfield"

                                            fieldLabel="Enter Offer Type"

                                            name="./otherOfferTypeText"

                                            renderHidden="{Boolean}true"/>

                                    </items>

                                </field>

                            </list>

                            <hashname

            jcr:primaryType="nt:unstructured"

            sling:resourceType="granite/ui/components/coral/foundation/form/textfield"

            fieldLabel="Enter the element ID"

            name="./hashname"

            required="{Boolean}false"/>

            <componentWrapperCss

            jcr:primaryType="nt:unstructured"

            sling:resourceType="granite/ui/components/coral/foundation/form/textfield"

            fieldLabel="Enter the wrapper CSS class name"

            name="./componentWrapperCss"/>

                        </items>

                    </relatedcontent>

                </items>

            </tabs>

        </items>

    </content>

</jcr:root>

9 Replies

Avatar

Community Advisor

HI,

Your dialog section for pathfield is looks fine. I tested same in AEM 6.3

Could be issue with upgrade. If you want you can open daycare support ticket.



Arun Patidar

Avatar

Level 3

Hi all,

Is There any answers about the problem?

I was similar problem when I installed the package 6.3.2.2.

Thanks a lot

Avatar

Level 10

If these granite resource types work differently after an update - it would be an update bug. There is no procedure that will make it work again. Recommended action is to open a support ticket. Instructions are in Experiecne League site  -Enterprise Support

Avatar

Level 2

I can reproduce it in all my pathfields inside a multifield doesn`t work after update from 6.3.2.0 to 6.3.2.2

And the FP2 it was installed correctly, because we generated new servers to double check the situation.

Avatar

Level 1

To anyone still having this issue, I was able to solve it by changing "granite/ui/components/coral/foundation/form/pathfield" to "granite/ui/components/coral/foundation/form/pathbrowser"

Avatar

Level 2

but we cannot use pathbrowser because we need to see the thumbnail image.