Project

General

Profile

Actions

Bug #97485

closed

MP3 file causes Exception: Property "height" was not found in file reference or original file.

Added by René Höhle about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2022-04-26
Due date:
% Done:

0%

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

Description

We have uploaded an MP3 file as "Text & Media" element. After selecting the File the output is broken with the following error. When you leave the "width" blank then you get the error that the property "width" was not found. When i put a value in both fields you get the error below.

Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1314226805: Property "height" was not found in file reference or original file. | InvalidArgumentException thrown in file /var/www/vhosts/xxx/public/typo3/sysext/core/Classes/Resource/FileReference.php in line 125. Requested URL: xxx

When you go to the "i" for information the player is shown and you can listen to the file. Is this a bug or can someone tell me how to fix that problem?


Files

2022-04-26_23-42.jpeg (68.2 KB) 2022-04-26_23-42.jpeg René Höhle, 2022-04-26 21:42
Actions #1

Updated by René Höhle about 2 years ago

  • Description updated (diff)
Actions #2

Updated by Georg Ringer about 2 years ago

  • Status changed from New to Needs Feedback

thanks for creating the issue. I could neither reproduce that on current main branch nor on latest 10 version. Can you please check if you can reproduce this on a clean installation without any changes to e.g. [GFX][imagefile_ext]

thanks a lot!

Actions #3

Updated by René Höhle about 2 years ago

Thanks for your reply. I have uploaded another mp3 file and it's working. It's a very interesting problem. I think something in the file is not correct and then then Typo3 thinks that it's an image or something else and tries to set some attributes.

Actions #4

Updated by Oliver Bartsch about 2 years ago

Thanks for your feedback. Could you please share the mp3 file which allows to reproduce the behaviour?

Actions #5

Updated by René Höhle about 2 years ago

I have made the Update to 10.4.27 and i have uploaded the same file again and it's working. A very strange problem. The MP3 file is ok.

Ok i have found the Problem. The problem is the writing of the file. When there is an uppercase letter in the filename. He can't find the file and can't read it and then the error appears.

It's a simple folder "user_uploads/Podcast/Test.mp3". This is not working. When i write all to lowercase it's working. I had similar problems in the past when i make an update locally on Mac and update it to the Linux system. Then i have to replace all names to lowercase.

Actions #6

Updated by Georg Ringer about 2 years ago

are you using an environment with a case-insensitive file system, e.g. windows or mac not using file-sensitive?

Actions #7

Updated by René Höhle about 2 years ago

Very simple before some time i have made an update from Typo3 7 to 10 on my mac. Then all files in the database are lowercase but not the files. The system on top is the linux system which then can't find the file. Normally you get an error that the file is not found or something else but in this case he can't find the file and then the height error appears.

But i think it's solved now. Thanks for you help.

Actions #8

Updated by Georg Ringer about 2 years ago

  • Status changed from Needs Feedback to Closed

closing issue as this is not an issue of typo3 itself

Actions

Also available in: Atom PDF