Bug #82178
closed
\TYPO3\CMS\Backend\Form\Container\InlineRecordContainer::renderForeignRecordHeaderControl wrong edit link
Added by Marcos Fadul about 7 years ago.
Updated about 6 years ago.
Sprint Focus:
On Location Sprint
Description
The $recordInDatabase in line 506 is false if no metadata for the file exist. This produce a wrong edit link where uid is null. This can be fix by adding a check on $recordInDatabase in the if condition on line 522.
if ($recordInDatabase && $backendUser->check('tables_modify', 'sys_file_metadata')) {
- Sprint Focus set to On Location Sprint
- Status changed from New to Under Review
- Is duplicate of Bug #76262: "$uid must be positive integer, 0 given" when trying to edit file metadata added
- Status changed from Under Review to Resolved
- Has duplicate Bug #83165: Editing file metadata of translated tt_content added
- Status changed from Resolved to Under Review
- Status changed from Under Review to Resolved
- Status changed from Resolved to New
When a record is in a certain language (sys_language_uid > 0) it does not mean the meta data of a referenced file have to be translated into the same language.
When you work with separate files in different languages (e.g. PDFs) you will usually not have translated meta data records, you still should be able to access/edit them.
My proposal is to link to the according meta data translation if possible (as it is now) and link to the meta data in the default language if there is no matching translation.
- Status changed from New to Resolved
@Sebastian Kurfuerst, can you please open a new ticket to your issue? The issue described in the ticket has been resolved by the patches merged. You are welcome to set a relation to this one on the new ticket so we can easily follow up on the different stages the behavior went trough.
If you need a different behavior, please describe it in a little more detail than you did here, and do in a separate ticket. It's easier to keep track of the changes then.
Thanks a bunch.
I close this ticket again for the named reason.
- Status changed from Resolved to Closed
- Related to Bug #92906: File Metadata are not editable when translation doesn't exist yet added
Also available in: Atom
PDF