Bug #50065
closedfile:current does not merge properties
0%
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
Updated by Philipp Bergsmann over 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
}
}
}
Updated by Mathias Schreiber almost 10 years ago
- Target version set to 7.1 (Cleanup)
- Is Regression set to No
- Sprint Focus set to On Location Sprint
Updated by Benni Mack over 9 years ago
- Target version changed from 7.1 (Cleanup) to 7.4 (Backend)
Updated by Alina Fleser over 9 years ago
- Status changed from New to In Progress
- Assignee set to Alina Fleser
Updated by Alina Fleser over 9 years ago
I can't reproduce this issue on master.
Test results:
altText.data = file:current:descriptionDisplays 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
Updated by Christian Kuhn over 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.
Updated by Mathias Schreiber over 9 years ago
- Sprint Focus deleted (
On Location Sprint)