Project

General

Profile

Actions

Bug #87415

closed

Folder selector adding wrong folder (parent folder instead of subfolder)

Added by Ioulia Kondratovitch almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2019-01-11
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

Problem:
When using folder selector within a content element in backend to add a path to folder, the selector is adding a parent folder instead of the selected folder.
Steps to reproduce:

1. TCA: add an item for selecting folders. Example code (flexform):

<settings.folders>
   <TCEforms>
       <label>Folders</label>
       <config>
           <type>group</type>
           <internal_type>folder</internal_type>
           <size>10</size>
           <maxitems>10</maxitems>
           <minitems>1</minitems>
       </config>
   </TCEforms>
</settings.folders>

2. Clear all Caches

3. Choose in BE/Pages a matching content element => edit => open folder selector

4. Navigate within the left part and klick to any folder containing subfolders.

5. At the right part klick at the subfolder (having a plus-symbol) or klick at plus-symbol and close the pop-up.

Expected result:
subfolder is selected

Actual result:
parent folder is selected instead


Files

folder_selector_1.png (21.4 KB) folder_selector_1.png Ioulia Kondratovitch, 2019-01-11 22:03
folder_selector_2_result.png (5.12 KB) folder_selector_2_result.png Ioulia Kondratovitch, 2019-01-11 22:03
Actions

Also available in: Atom PDF