Issue Bug Closed

#106196Wenn trying to create file mounts within the module "Backend Users" entry points are not available

Michael Perlbach 02/18/25, 12:14 updated 02/18/25, 16:02

Description

When trying to create a filemount in the module “Backend Users” the dropdown “Entry Point” is empty although there are subdirectories under “fileadmin”.

When I create a filemount in the module “File List” it works.

I am logged in as an admin/maintainer.

Reviews 1

History 14

  1. Garvin Hicking commented and changed status New Needs Feedback <span data-processor="relativetime" data-value="2025-02-18T12:18:34+00:00" > 02/18/25, 12:18 </span>

    Please see if #106173 fixes this for you

  2. Michael Perlbach commented <span data-processor="relativetime" data-value="2025-02-18T12:32:38+00:00" > 02/18/25, 12:32 </span>

    Not really.

    This directive:

    ‘’‘
    Procedure for reproducing the issue:
    - In Backend: Select the root page (ID 0) in list view
    - Edit a filemount e.g. the default “fileadmin“
    - Click on the ‘Search for folders’ button next to the ‘Entry point’ item.
    ’‘’

    does not work for me as I do neither see the “search for folders” button nor an “entry point” item in the list view of the root page.

  3. Michael Perlbach commented <span data-processor="relativetime" data-value="2025-02-18T12:54:13+00:00" > 02/18/25, 12:54 </span>

    By the way: Is there a reason why I do not see my open issues under “My open issues” in forge?

  4. Garvin Hicking commented <span data-processor="relativetime" data-value="2025-02-18T13:14:25+00:00" > 02/18/25, 13:14 </span>

    The fix should though also fix your problem (of course not with the same steps).

    About the forge issue, please get in touch via slack or so, this is not something to discuss in this issue, thanks.

  5. Garvin Hicking commented <span data-processor="relativetime" data-value="2025-02-18T13:16:57+00:00" > 02/18/25, 13:16 </span>

    No worries. If you could try the patch and see if that works for your reported issue too, that would help us :-)

  6. Michael Perlbach commented <span data-processor="relativetime" data-value="2025-02-18T13:26:26+00:00" > 02/18/25, 13:26 </span>

    I just took a look into “/<webroot>/vendor/typo3/cms-filelist/Classes/ElementBrowser/AbstractResourceBrowser.php“<br>and the proposed patch seems to be already there (starting in line 105):</webroot>

        protected function initSelectedFolder(): void
        {
            $resourceFactory = GeneralUtility::makeInstance(ResourceFactory::class);
    
            // Select folder
            if ($this->expandFolder) {
                try {
                    $this->selectedFolder = $resourceFactory->getFolderObjectFromCombinedIdentifier($this->expandFolder);
                } catch (FolderDoesNotExistException $e) {
                }
            }
    
            if (!$this->selectedFolder) {
                $allStorages = $this->getBackendUser()->getFileStorages();
                $defaultStorage = $resourceFactory->getDefaultStorage();
                if ($defaultStorage && array_key_exists($defaultStorage->getUid(), $allStorages)) {
                    $this->selectedFolder = $defaultStorage->getRootLevelFolder();
                } else {
                    $this->selectedFolder = reset($allStorages)->getRootLevelFolder();
                }
            }
        }
  7. Garvin Hicking commented <span data-processor="relativetime" data-value="2025-02-18T15:50:52+00:00" > 02/18/25, 15:50 </span>

    Can you click the folder icon, opening a popup, where you dan pick the storage?

  8. Garvin Hicking commented and changed status Needs Feedback Closed <span data-processor="relativetime" data-value="2025-02-18T16:02:31+00:00" > 02/18/25, 16:02 </span>

    Thanks for the feedback! The dropdown afaik is meant to work differently, its not there to list sll storages…