Issue Bug Closed

#83165Editing file metadata of translated tt_content

Sebastian Fischer 11/29/17, 16:16 updated 11/29/17, 16:22

Description

I try to edit the metadata of a translated tt_content element. When clicking on the edit button of the image inline element i get a fatal error with the message:

#1437656456: $uid must be positive integer, 0 given

This happens when there is no file metadata translation created previously.

While i know why this happens a regular editor will not understand it that easily. The expected behaviour is:

a either create a translation of the file metadata on clicking the edit button
b or do not show the edit button at all but render a + button to add the translation

Having neither of these solutions leads to bad ux

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.