Bug #39130

Uncaught Exception when accessing "Filelist" module - file in fileadmin, [windows]

Added by Tymoteusz Motylewski 10 months ago. Updated 8 months ago.

Status:Resolved Start date:2012-07-20
Priority:Should have Due date:
Assignee:- % Done:

100%

Category:File Abstraction Layer (FAL)
Target version:-
TYPO3 Version:6.0 Complexity:
PHP Version:
Votes: 1 (View)

Description

I'm getting "Uncaught TYPO3 Exception" when accessing Filelist module on Windows.
Seems that module breaks when there are files directly in fileadmin folder, files in other folders are displaying just fine.
I attached stack trace.

stacktrace.txt (2.8 kB) Tymoteusz Motylewski, 2012-07-20 15:43


Related issues

related to Core - Bug #41204: Preview images not rendered in Web > Page view on Windows... Resolved 2012-09-21

Associated revisions

Revision c0f83504
Added by Nicole Cordes 8 months ago

[BUGFIX] Uncaught Exception when accessing "Filelist" module in Windows

An Exception is thrown when files are found directly in fileadmin folder.
Because of a backslash a false identifier is generated and file cannot be
found anymore.

Change-Id: I6c9e8b56654dfb44ec33f697219b5299883e82c5
Fixes: #39130
Releases: 6.0
Reviewed-on: http://review.typo3.org/14514
Reviewed-by: Oliver Hader
Reviewed-by: Wouter Wolters
Reviewed-by: Simon Schaufelberger
Tested-by: Simon Schaufelberger
Tested-by: Oliver Hader

History

Updated by Simon Schaufelberger 9 months ago

same here. This happens only under fileadmin folder. All other subfolders are working well.

Updated by Andreas Wolf 9 months ago

  • Status changed from New to Needs Feedback

Are you using the auto-generated fileadmin mount? Maybe there's a problem with the way this one is created.

Apart from that, I spotted another error that should not be related to this bug - but you never know... See #40520 for more information.

Updated by Andreas Wolf 9 months ago

  • Project changed from File Abstraction Layer to Core

Updated by Andreas Wolf 9 months ago

  • Category set to File Abstraction Layer (FAL)
  • TYPO3 Version set to 6.0

Updated by Simon Schaufelberger 9 months ago

Andreas Wolf wrote:

Are you using the auto-generated fileadmin mount? Maybe there's a problem with the way this one is created.

Yes.

Updated by Nicole Cordes 8 months ago

Have the same issue. Debugging shows that identifier was created the wrong way. Backslashes are used on windows systems which have to be replaced. Upload a patch for that.

Updated by Gerrit Code Review 8 months ago

  • Status changed from Needs Feedback to Under Review

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14514

Updated by Gerrit Code Review 8 months ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14514

Updated by Nicole Cordes 8 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF