Bug #87415

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

Added by Ioulia Kondratovitch 2 months ago. Updated 2 months ago.

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

100%

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

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

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

Associated revisions

Revision 2761d91b (diff)
Added by Ioulia Kondratovitch 2 months ago

[BUGFIX] Use correct variable to select a subfolder within folder selector

Use correct variable to select a subfolder within the folder selector
instead of using the variable for parent-folder identifier.

Resolves: #87415
Releases: master, 9.5
Change-Id: I8bb30f81aea2b17f0b3567b9272e239b2beaf772
Reviewed-on: https://review.typo3.org/59420
Reviewed-by: Wouter Wolters <>
Tested-by: Wouter Wolters <>
Tested-by: TYPO3com <>
Reviewed-by: Guido Schmechel <>
Tested-by: Guido Schmechel <>
Reviewed-by: Georg Ringer <>
Tested-by: Georg Ringer <>

Revision c4304369 (diff)
Added by Ioulia Kondratovitch 2 months ago

[BUGFIX] Use correct variable to select a subfolder within folder selector

Use correct variable to select a subfolder within the folder selector
instead of using the variable for parent-folder identifier.

Resolves: #87415
Releases: master, 9.5
Change-Id: I8bb30f81aea2b17f0b3567b9272e239b2beaf772
Reviewed-on: https://review.typo3.org/59441
Tested-by: TYPO3com <>
Reviewed-by: Georg Ringer <>
Tested-by: Georg Ringer <>

History

#1 Updated by Gerrit Code Review 2 months 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

#2 Updated by Gerrit Code Review 2 months 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

#3 Updated by Gerrit Code Review 2 months 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

#4 Updated by Ioulia Kondratovitch 2 months ago

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

Also available in: Atom PDF