Project

General

Profile

Actions

Bug #75519

closed

Flexform select rendermode tree doesn't respect collapsed nodes

Added by Frans Saris over 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2016-04-11
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

When using a select field in your plugin flexform with rendermode tree the collapsed nodes state isn't saved. So you lose the selection of all subnodes of collapsed nodes after save.

My config:

                    <settings.mediaAlbumsUids>
                        <TCEforms>
                            <label>LLL:EXT:fs_media_gallery/Resources/Private/Language/locallang_be.xlf:flexforms.mediagallery.mediaAlbumsUids</label>
                            <displayCond>FIELD:switchableControllerActions:IN:MediaAlbum->nestedList;MediaAlbum->showAsset,MediaAlbum->randomAsset</displayCond>
                            <config>
                                <type>select</type>
                                <renderMode>tree</renderMode>
                                <treeConfig>
                                    <parentField>parentalbum</parentField>
                                    <appearance>
                                        <showHeader>TRUE</showHeader>
                                        <width>650</width>
                                    </appearance>
                                </treeConfig>
                                <internal_type>db</internal_type>
                                <size>5</size>
                                <autoSizeMax>20</autoSizeMax>
                                <maxitems>1000</maxitems>
                                <minitems>0</minitems>                                
                                <foreign_table>sys_file_collection</foreign_table>
                                <foreign_table_where>AND sys_file_collection.hidden = 0 AND (sys_file_collection.sys_language_uid = 0 OR sys_file_collection.l10n_parent = 0) ORDER BY sys_file_collection.sorting ASC, sys_file_collection.crdate DESC</foreign_table_where>
                            </config>
                        </TCEforms>
                    </settings.mediaAlbumsUids>

Reproducible with https://typo3.org/extensions/repository/view/fs_media_gallery/ and a lot of nested albums (file collections)


Files

2016-10-20_12h18_57.png (33.5 KB) 2016-10-20_12h18_57.png Daniel Hirth, 2016-10-20 12:27

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #75947: Creation of subcategories impossible after upgrading to 6.2.22Closed2016-04-27

Actions
Related to TYPO3 Core - Bug #76374: Select trees not rendered on inline recordsClosed2016-05-30

Actions
Is duplicate of TYPO3 Core - Bug #74451: Select Tree does not save selected nodes that have never been expanded (collapsed on load and not expanded afterwards)Rejected2016-03-07

Actions
Actions

Also available in: Atom PDF