Bug #88873

ext: form hangs (run into 500 error) when a lot of files are in the fileadmin

Added by Christian Hackl 6 months ago. Updated 2 months ago.

Status:
In Progress
Priority:
Should have
Category:
Form Framework
Target version:
-
Start date:
2019-11-05
Due date:
2019-11-05
% Done:

0%

TYPO3 Version:
9
PHP Version:
7.2
Tags:
performance
Complexity:
Is Regression:
Sprint Focus:

Description

TYPO3 9.5.8 with many many many files in the fileadmin directory.

if you click on the modul form in the backend, the form module loads dead - until it runs into the php_exectuion_time or produces 500 errors - "Premature end of script headers: index.php". (the SQL process that is started is sleeping and will not be aborted)

This only happens if there are 100d of files in the fileadmin. Although the allowed "allowedFileMounts" or "allowedExtensionPaths" are explicitly specified in custom BaseSetup.yaml.
If you move the files from fileadmin to a parent dir / outside of fileadmin - all works fine.


Related issues

Related to TYPO3 Core - Epic #89759: Performance improvements in Forms module New 2019-11-24
Follows TYPO3 Core - Feature #89576: Introduce paginate view helper Under Review 2019-11-04

History

#1 Updated by Susanne Moog 6 months ago

  • Tags changed from form to form CodingNight

#2 Updated by Christian Hackl 6 months ago

I think this is the same problem like this: https://forge.typo3.org/issues/88913

#3 Updated by Christian Hackl 6 months ago

  • Related to Bug #88913: link wizard - error 500 - many files directly fileadmin/user_upload/ added

#4 Updated by Riccardo De Contardi 4 months ago

Are we talking here about EXT:form or the backend interface (so Formengine, I guess)?

#5 Updated by Christian Hackl 4 months ago

don't no exactly, i think the problem is that the ext:form is searching for the config yaml files and it searches in the complete fileadmin directory insteed of the given "allowedFileMounts" or "allowedExtensionPaths". (looks like)

The link handler from linked issue 88913 above works fine.

#6 Updated by Riccardo De Contardi 4 months ago

  • Category set to Form Framework

#7 Updated by Bjoern Jacob 2 months ago

  • Related to deleted (Bug #88913: link wizard - error 500 - many files directly fileadmin/user_upload/)

#8 Updated by Bjoern Jacob 2 months ago

  • Tags deleted (form CodingNight)
  • Sprint Focus set to Remote Sprint

#9 Updated by Mathias Brodala 2 months ago

  • Status changed from New to Accepted
  • Assignee set to Mathias Brodala

#10 Updated by Mathias Brodala 2 months ago

  • Due date set to 2019-11-05
  • Start date changed from 2019-07-31 to 2019-11-05
  • Follows Feature #89576: Introduce paginate view helper added

#11 Updated by Mathias Brodala 2 months ago

This should be fixed with a server-side pagination exactly like the File list module does. For this #89576 would be useful to avoid code duplication.

#12 Updated by Mathias Brodala 2 months ago

  • Status changed from Accepted to In Progress

#13 Updated by Mathias Brodala 2 months ago

  • Tags set to performance

#14 Updated by Mathias Brodala 2 months ago

  • Related to Epic #89759: Performance improvements in Forms module added

#15 Updated by Mathias Brodala 2 months ago

The pagination idea is handled in #89762 now.

#16 Updated by Mathias Brodala 2 months ago

  • Sprint Focus deleted (Remote Sprint)

Also available in: Atom PDF