Bug #18398
closedThe MMetusalem Bug - getReferencedFiles()
0%
Description
The fix for getReferencedFiles() in third party extensions is very helpful but seems to cover language issues. E.g. in tv_dam_connector (class.tx_damtvc_tsfe.php)
$damFiles = tx_dam_db::getReferencedFiles('tt_content', $this->cObj->parentRecord['data']['_ORIG_uid']?$this->cObj->parentRecord['data']['_ORIG_uid']:$this->cObj->parentRecord['data']['uid'], $refField);
Works for default Language but not for e.g. second language.
The call needs to be changed to
$uid = $this->cObj->parentRecord['data']['_LOCALIZED_UID'] ? $this->cObj->parentRecord['data']['_LOCALIZED_UID'] : ($this->cObj->parentRecord['data']['_ORIG_uid']?$this->cObj->parentRecord['data']['_ORIG_uid']:$this->cObj->parentRecord['data']['uid']);
I think this should work for other dam extending extensions too.
(issue imported from #M7791)
Updated by Christian Welzel almost 14 years ago
I added the bug to dam_tv_connector on forge. It looks like this report is only relateded to this ext so you can close this one.
Bug on forge: http://forge.typo3.org/issues/12263
Updated by Steffen Gebert almost 14 years ago
Yey, doesn't sound like a core issue.
Updated by Michael Stucki almost 11 years ago
- Project changed from 624 to TYPO3 Core
- Category changed from Workspaces to Workspaces
- Target version deleted (
0)