Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

unallowed download-types appear in the filepicker when inside a collapsed folder #8744

Closed
asaage opened this issue Jul 11, 2017 · 1 comment
Labels

Comments

@asaage
Copy link

asaage commented Jul 11, 2017

Just a minor bug for me - especially as the picker is currently beeing worked on - but it might occur in contao 4 too - please check.

steps to reproduce:

  • have a file in SubfolderA with a file-extension wich is not listed in allowed download-types
  • make shure your fileTree is collapsed
  • create a download-contentelement

if the picker appears and you expand SubfolderA you will be able to select that file

I bet it's ajax-related because if the folder is already expanded it works as expected.
https://github.com/contao/core/blob/master/system/modules/core/dca/tl_content.php#L1631

@leofeyer leofeyer added this to the 3.5.29 milestone Jul 12, 2017
@aschempp
Copy link
Member

This will be fixed with contao/core-bundle#950

@leofeyer leofeyer removed this from the 3.5.29 milestone Aug 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants