Bug #72369
closed
Bug #71298: Fix missing/broken RTE features after Link Handler API merge
"TBE folder selector" pop-up folder tree broken
Added by Felix Nagel almost 9 years ago.
Updated about 6 years ago.
Category:
Backend User Interface
Description
The "TBE folder selector" pop-up (comes with TCA type group with internal_type folder) has JS errors when trying to expand a tree node using the arrow icons:
Uncaught ReferenceError: Tree is not defined
This makes navigating the folder tree impossible.
Steps to reproduce:
- Open the "TBE folder selector" popup (click folder icon next to input)
- Use one of the arrow icons in order to expand a tree node
- Nothing happens, JS error in concole
Tested in Chrome 47 / Win 8.1
This bug report is a follow-up to #70449 and #72242
- Category set to Backend User Interface
I've done this test with the latest 8.0-dev master:
1) create a new CE
2) on header section, click on "Link" icon
3) click on the "folder" tab
4) try to expand a node clicking the arrow
Result: the JS console reports the error:
Uncaught TypeError: require is not a function(anonymous function)
Should I perform a different test?
I see the same problem in three different TYPO3 installations (all 7.6.4). One of them is a completely raw installation.
As soon as I click on one of the triangle icons to unfold this folders subfolders I get a JS error and the subfolders don't show:
JS error "Uncaught ReferenceError: Tree is not defined" in /typo3/index.php?route=%2Fwizard%2Frecord%2Fbrowse&token=bf3be288847dbc1f2d4198fe24af4fd37f1ad00e&mode=folder&bparams=data[tt_content]27[pi_flexform][data][sDEF][lDEF][settings.folder][vDEF]||||:92
I can reproduce this error whether the folder dialog is called from the flexform of a plugin or from a TCA field.
Hi
I have the same problem with internal_type "folder"
Typo3 7.6.9 Chrome 49
I have the same problem while using alm_gallery in 7.6.9. The flexform config is as follows:
<settings.foldergallery.flexform.folderPath>
<TCEforms>
<label>LLL:EXT:alm_gallery/Resources/Private/Language/locallang_db.xml:tx_almgallery_foldergallery.folderPath</label>
<config>
<type>group</type>
<internal_type>folder</internal_type>
<maxitems>1</maxitems>
<size>1</size>
</config>
</TCEforms>
</settings.foldergallery.flexform.folderPath>
I just switched to a simple folder based gallery, because creating FAL file collections don't work in workspaces. I think this a bad situation, because when developing a gallery with workspaces in mind you can't let your users create file collections, it doesn't work in workspaces. So I thought, okay, let the user pick a folder. Then I ran into this bug. So as a workaround I used the logic that the core uses to create a file collection in a flexform and created an own extension where I generate a select with all the folders the user has access to. If anyone is interested in the flexform and the corresponding itemsProcFunc just message me.
- Parent task set to #71298
- Status changed from New to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Verified in TYPO3 CMS 7.6.11: TCA type group with internal_type folder works again!
Thanks a lot Wouter and Benni!
- Status changed from Resolved to Closed
Also available in: Atom
PDF