Project

General

Profile

Actions

Bug #22595

closed

Filelist: AJAX bug with multiple file mounts in the folder tree

Added by Benni Mack over 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2010-05-06
Due date:
% Done:

0%

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

Description

Problem:
If you have non-admin BE users that have access to multiple file mounts through the filelist module, they get duplicate entries in the foldertree when using collapse/expand in the foldertree.

There are actual two problems, that might be related. The result is that some editors get a bug when using the foldertree and have multiple filemounts. (see screenshot)

Solution:
1. Change the div - wraps like in #20722 - only for filelistfoldertree.
2. if running in AJAX mode, don't loop through all filemounts but break on the one that is used

Additional Info:
#20722 introduced the additional wraps
#20722 fixed it only for webpagetree

How to reproduce:

1) Add a couple of file mounts, each should have a nice hierarchical directory structure (at least two levels).
2) Add a BE user (non-admin) that is allowed to see the filelist and these file mounts.
3) Switch to that user, and navigate through the first file mount in the foldertree. Once you collapse and expand the subfolders again, you'll notice that the other file mounts get added again.
4) Apply the patch and try again
5) The problem is gone.
(issue imported from #M14315)


Files

Duplicate Folder Tree.png (25.7 KB) Duplicate Folder Tree.png Administrator Admin, 2010-05-06 05:29
14315.patch (1.45 KB) 14315.patch Administrator Admin, 2010-05-06 05:29
Actions #1

Updated by Benni Mack over 14 years ago

committed to trunk (rev. 7553)
committed to TYPO3_4-3 (rev. 7554)

Actions #2

Updated by Susanne Moog over 13 years ago

  • Target version deleted (4.4.0)
Actions

Also available in: Atom PDF