Project

General

Profile

Actions

Bug #87415

closed

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

Added by Ioulia Kondratovitch about 5 years ago. Updated almost 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 #1

Updated by Gerrit Code Review about 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59420

Actions #2

Updated by Gerrit Code Review about 5 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59420

Actions #3

Updated by Gerrit Code Review about 5 years ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59441

Actions #4

Updated by Ioulia Kondratovitch about 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack almost 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF