Project

General

Profile

Actions

Bug #50065

closed

file:current does not merge properties

Added by Philipp Bergsmann almost 11 years ago. Updated almost 9 years ago.

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

0%

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

Description

Given a file has a description and an alternative set in the filelist-module it gets merged with the override-values in the reference. this is not the case when the keyword "current" is used.

E.g.:

altText.data = file:current:description

does not work

altText.data = file:{file:current:originalUid}:description
altText.data.insertData = 1

does work

Actions #1

Updated by Philipp Bergsmann almost 11 years ago

Full TS-sample:

lib.aNewCe.renderImage = FILES
lib.aNewCe.renderImage {
references {
table = tt_content
uid.data = field:contentUid
fieldName = image
}
renderObj = COA
renderObj {
10 = IMAGE
10 {
file {
import.data = file:current:originalUid
}
altText.data = file:current:description
}
}
}

Actions #2

Updated by Mathias Schreiber over 9 years ago

  • Target version set to 7.1 (Cleanup)
  • Is Regression set to No
  • Sprint Focus set to On Location Sprint
Actions #3

Updated by Benni Mack almost 9 years ago

  • Target version changed from 7.1 (Cleanup) to 7.4 (Backend)
Actions #4

Updated by Alina Fleser almost 9 years ago

  • Status changed from New to In Progress
  • Assignee set to Alina Fleser
Actions #5

Updated by Alina Fleser almost 9 years ago

I can't reproduce this issue on master.

Test results:

altText.data = file:current:description
Displays the description of the file reference
altText.data = file:{file:current:originalUid}:description
altText.data.insertData = 1

Displays the description of the original file

The output seams to be correct

Actions #6

Updated by Christian Kuhn almost 9 years ago

  • Status changed from In Progress to Closed

Thanks Alina.

Closed as "unable to reproduce" now. Philipp, if you think, this was the wrong decision, you are free to re-open this issue or create a new one and mention this one.

Actions #7

Updated by Mathias Schreiber almost 9 years ago

  • Sprint Focus deleted (On Location Sprint)
Actions

Also available in: Atom PDF