Bug #50065
closed
file:current does not merge properties
Added by Philipp Bergsmann over 11 years ago.
Updated over 9 years ago.
Category:
File Abstraction Layer (FAL)
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
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
}
}
}
- Target version set to 7.1 (Cleanup)
- Is Regression set to No
- Sprint Focus set to On Location Sprint
- Target version changed from 7.1 (Cleanup) to 7.4 (Backend)
- Status changed from New to In Progress
- Assignee set to Alina Fleser
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
- 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.
- Sprint Focus deleted (
On Location Sprint)
Also available in: Atom
PDF