Project

General

Profile

Actions

Bug #54305

closed

File type does not get updated when mime type changes

Added by Alexander Stehlik almost 11 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2013-12-10
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

After setContents() was called on a file object the mime type might change.

This can also mean, that the type field in the sys_file record needs an update. Currently only the meta-data changes but not the type.

Actions #1

Updated by Gerrit Code Review almost 11 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26288

Actions #2

Updated by Gerrit Code Review almost 11 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26288

Actions #3

Updated by Gerrit Code Review almost 11 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26288

Actions #4

Updated by Steffen Ritter almost 11 years ago

  • Assignee set to Steffen Ritter
Actions #5

Updated by Gerrit Code Review almost 11 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26288

Actions #6

Updated by Gerrit Code Review almost 11 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26288

Actions #7

Updated by Steffen Ritter almost 11 years ago

  • Target version changed from 6.2.0 to next-patchlevel
Actions #8

Updated by Steffen Ritter almost 11 years ago

Name an image test.jpg
Afterwards rename a local pdf to test.jpg

Upload and overwrite :)

var_dump the file object before and afterwards the file object is updated

Actions #9

Updated by Alexander Stehlik almost 11 years ago

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

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF