Bug #6780

ResourceViewHelper wrong path to persisted resources

Added by Georg Ortner over 5 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2010-03-11
Priority:Must have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:Resource
Target version:TYPO3 Flow Base Distribution - 1.0 alpha 8 Estimated time:1.00 hour
PHP Version: Complexity:
Has patch: Affected Flow version:

Description

Template code:
<img src="{f:uri.resource(resource: article.image.originalResource, title: article.image.title)}" style="max-width: 100%" alt="{article.image.title}" />

Result:
<img src="http://mydomain.dev/_Resources/Persistent/78f83c09f79a0951591566bd464c590deb5f9218/.jpg" style="max-width: 100%" alt="" />

There is one slash too much before the extension:
78f83c09f79a0951591566bd464c590deb5f9218/.jpg

Associated revisions

Revision 33118977
Added by Karsten Dambekalns over 5 years ago

[+BUGFIX] FLOW3 (Resource): When publishing persistent resources NULL for the title is now ignored as well, fixes #6780.

History

#1 Updated by Karsten Dambekalns over 5 years ago

  • Status changed from New to Accepted
  • Assigned To set to Karsten Dambekalns

#2 Updated by Karsten Dambekalns over 5 years ago

  • Estimated time set to 1.00

#3 Updated by Karsten Dambekalns over 5 years ago

If the title is NULL it will give the result you see.

#4 Updated by Karsten Dambekalns over 5 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r3932.

Also available in: Atom PDF