Project

General

Profile

Actions

Bug #82294

closed

"$uid must be positive integer, 0 given" if setting content image in metadata to language "all"

Added by Erik Konrad over 6 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2017-09-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

We found a bug in TYPO3 8.7.4 core. To reproduce the bug:

- add an image (or image with text) on a page
- save the image
- go to the image tab and push the metadata - pencil
- change language to "all" in metadata
- open the image tab in the content element
- push the metadata pencil a second time

Now it throws the exception "$uid must be positive integer, 0 given". The "more information" helpsite says, that this is a grid element bug, but it isnt. It happens with a fresh TYPO3 installation too.


Files

Error UID=0.PNG (3.28 KB) Error UID=0.PNG Martin Hotmann, 2019-06-11 20:51
Languages.PNG (2.7 KB) Languages.PNG Martin Hotmann, 2019-06-11 20:51

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #82858: Metadata edit button leads to 'Uncaught Exception' inside Text and Images content elementClosed2017-10-26

Actions
Actions #1

Updated by Felix Kopp over 6 years ago

We also have this problem in several installations.

Actions #2

Updated by Riccardo De Contardi about 6 years ago

  • Related to Bug #82858: Metadata edit button leads to 'Uncaught Exception' inside Text and Images content element added
Actions #3

Updated by Riccardo De Contardi about 6 years ago

  • Status changed from New to Needs Feedback

Is this a duplicate? #82858

Actions #4

Updated by Riccardo De Contardi about 6 years ago

  • Status changed from Needs Feedback to Closed

Should have been solved with https://review.typo3.org/#/c/54888/ on version 8 and above.

@Felix Kopp: what version did you use? Should be fixed since 8.7.9 - see https://get.typo3.org/release-notes/8.7.9

I close this one for now; please reopen it if you think that this is the wrong decision or experience the issue again and have further information about how to reproduce the issue.

Thank you!

p.s. thanks to Simon Gilli for the hint.

Updated by Martin Hotmann almost 5 years ago

I encounter exactly this issue!
I cant edit the default language.
Will append a screenshot

I have two languages (german and englisch)

BTW: I'm on TYPO3 9.5.7 and PHP 7.3

Actions #6

Updated by André Markus almost 5 years ago

Hi,
I have a great tipp for all of you with this problem.

I think the reason is not a specific TYPO3- oder PHP-Version, its MySQL 5.7 with the Strict Mode!

So here the solution that helped me:
https://serverpilot.io/docs/how-to-disable-strict-mode-in-mysql-5-7

Cheers
André

Actions

Also available in: Atom PDF