Project

General

Profile

Actions

Bug #86933

closed

$uid must be positive integer, 0 given when trying to edit multiple records in a workspace

Added by Tim Karliczek over 5 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2018-11-15
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description


Uncaught TYPO3 Exception
#1437656456: $uid must be positive integer, 0 given
Example:
  1. Switch to one of your workspaces
  2. Go to the list Module (make sure there are some records that are not published/have changed compared to the live workspace)
  3. Show only records from one table (e.g. sys_category)
  4. Click the button to edit multiple records at once -> now the exception is thrown

I did some debugging on this one:
Usually typo3/sysext/recordlist/Resources/Public/JavaScript/Recordlist.js should get some entityIdentifiers from the data-uid-attributes in the rendered HTML.
But it seems that there are no data-uid_-attributes present if the record is not already published in the live workspace. Not sure why this happens yet.

The exception is thrown for other record types as well. So it does not in particular effect the sys_category records due to it happens for other records as well.

I reproduced this exception on a clean installed Typo3 8.7.20 with the official Introduction Package.
Just enable the EXT:workspaces, create workspace record and run the example above to reproduce this exception.

There are other issues with the same exeption (e.g. #70226 or #83994). But in none of them workspaces are mentioned, so i decided to open this issue.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #70226: Error when trying to edit several properties at once in List Modul in TYPO3 7.5Closed2015-09-30

Actions
Related to TYPO3 Core - Bug #83994: $uid must be positive integer, 0 given when creating a new PageClosed2018-02-21

Actions
Actions

Also available in: Atom PDF