[opencms-dev] Empty DownloadGalleryWidget after sort

Octavian Petru op at tmnet.dk
Fri Jun 9 09:52:16 CEST 2017


Hi,

We have just migrated from OpenCms 8.0.3 to OpenCms 10.5.0 and we are encountering the following problem using the DownloadGalleryWidget.

Using the schema:

                <xsd:complexType name="OpenCmsSpotLink">
                                <xsd:sequence>
                                                <xsd:element maxOccurs="unbounded" minOccurs="1" name="Spot" type="OpenCmsVfsFile"/>
                                </xsd:sequence>
                                <xsd:attribute name="language" type="OpenCmsLocale" use="optional"/>
                </xsd:complexType>

                <xsd:annotation>
                                <xsd:appinfo>
                                                <resourcebundle name="dk.tmnet.apotek1.workplace"/>
                                                <preview uri="${previewtempfile}"/>
                                                <mappings>
                                                </mappings>
                                                <layouts>
                                                                <layout configuration="{ startup: '/apotek1_no/verktoey/commerce/spots/'}" element="Spot" widget="DownloadGalleryWidget"/>
                                                </layouts>
                                                <validationrules/>
                                                <defaults>
                                                </defaults>
                                </xsd:appinfo>
                </xsd:annotation>

The DownloadGalleryWidget first gets populated with the contents from the startup folder but after sorting the list (or any other interaction with it) it becomes empty.

I would appreciate any idea.

Thank you,
Octavian Petru


Med venlig hilsen/Best Regards

Octavian Petru
IT Consultant

E-mail: op at tmnet.dk


Theilgaard Mortensen A/S
Niels Hemmingsens Gade 9
1153 K?benhavn K | Denmark
+45 3344 8555 | www.tmnet.dk



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170609/a310e652/attachment.htm>


More information about the opencms-dev mailing list