Project

General

Profile

Actions

Bug #78900

closed

FSC Uploads: The file title won't show, if you're are using a file collection "folder from Storage". Works with static files.

Added by Andrea Lara over 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Fluid Styled Content
Target version:
-
Start date:
2016-12-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
file collection, metadata
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hi there.

Before you change the title from your uploaded file from "strange_name.pdf" to "datasheet_dezember".

If you're using 'file links' with a 'file collection' (via fluid styled content) the file will show in frontend with the title. Everthing is fine.

...
<f:if condition="{file.title}">
  <f:then>
    {file.title} 
  </f:then>
  <f:else>
    {file.name} 
  </f:else>
</f:if>
...

But if you're using a file collection "folder from storrage", the file name is showing, not the file title!

I've tested it with two different TYPO3-Projects, both 7.6.14.
See my screenshots for more details.

Thanks for your help.


Files

filecollection_be.png (7.71 KB) filecollection_be.png Andrea Lara, 2016-12-06 19:33
filecollection_fe.png (14.1 KB) filecollection_fe.png Andrea Lara, 2016-12-06 19:33
filecollection_file.png (15.3 KB) filecollection_file.png Andrea Lara, 2016-12-06 19:33
Actions #1

Updated by Gerrit Code Review over 7 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/50931

Actions #2

Updated by Gerrit Code Review over 7 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/50931

Actions #3

Updated by Frans Saris over 7 years ago

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

Updated by Benni Mack almost 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF