Project

General

Profile

Actions

Bug #94296

closed

InvalidArgumentException when using "Edit marked" clipboard feature for page translations in recordlist

Added by Oliver Bartsch over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend User Interface
Target version:
-
Start date:
2021-06-10
Due date:
% Done:

100%

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

Description

When in recordlist, having clipboard enabled, the clipboard actions "Edit marked", "Delete", "Copy" and "Mark All" are shown for the page translations "table".

Since translated records can never be selected using clipboard all of the above actions do not work, but actually lead to exceptions or JavaScript errors.

Clicking "Edit marked" leads to:

(1/1) #1437656456 InvalidArgumentException
$uid must be positive integer, 0 given

Clicking "Copy":

(1/1) #1437656456 InvalidArgumentException
$uid must be positive integer, 0 given
Actions #1

Updated by Gerrit Code Review over 3 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/69427

Actions #2

Updated by Oliver Bartsch over 3 years ago

Oliver Bartsch wrote:

When in recordlist, having clipboard enabled, the clipboard actions "Edit marked", "Delete", "Copy" and "Mark All" are shown for the page translations "table".

Since translated records can never be selected using clipboard all of the above actions do not work, but actually lead to exceptions or JavaScript errors.

Clicking "Edit marked" leads to:

[...]

Clicking "Copy":

[...]

Clicking "Copy":

VM3617 list:1782 Uncaught TypeError: Cannot set property 'value' of undefined
    at HTMLAnchorElement.onclick (VM3525 list:1782)
Actions #3

Updated by Gerrit Code Review over 3 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/69427

Actions #4

Updated by Gerrit Code Review over 3 years ago

Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/69434

Actions #5

Updated by Oliver Bartsch over 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Benni Mack about 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF