Project

General

Profile

Actions

Bug #97627

open

Page translation only if new subpages are allowed?

Added by Martin Meier about 2 years ago. Updated about 1 month ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2022-09-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
Complexity:
Is Regression:
Sprint Focus:
On Location Sprint

Description

Hi,

I am using TYPO3 10.4.27. Is there a way to allow editors without the right to create new subpages of a specific page to create translations of this page? I always get the error message “Attempt to insert a record on page ‘XXXX’ (PID) from table ‘pages’ without permissions. Or non-existing page.”

If I allow editors to create subpages, they are also allowed to create page translations.

Your help is much appreciated :)

Actions #1

Updated by Martin Meier about 2 years ago

  • Project changed from 9 to TYPO3 Core
  • Category changed from Support to Backend User Interface
  • TYPO3 Version set to 10
  • PHP Version set to 7.4
Actions #2

Updated by Martin Meier almost 2 years ago

  • Start date changed from 2022-05-13 to 2022-09-07
  • TYPO3 Version changed from 10 to 11
  • PHP Version changed from 7.4 to 8.0
Actions #3

Updated by Martin Meier almost 2 years ago

The bug still exists in TYPO3 11.5.15.

Actions #4

Updated by Riccardo De Contardi about 2 months ago

Still present on 13.2.0-dev I guess.

Steps to reproduce

Prerequisites

TYPO3 with at least two languages, main E.g. Italian (ID=0) and English (ID=1)

1) Create ad "Editors" BE Group; give it full Access Rights permissions (all modules, tables, fields, languages)
2) Create an "Editor" BE User, assign it to "Editors"
3) Create a page "Test"
4) System > Access Module > set "Test" page:

  • Group: "Editors"
  • Group permissions: Show Page: YES , Edit Content: YES , Edit Page: YES , Delete page: YES , New pages: NO

5) Switch to "Editor" user, go to "Test" page
6) Try to add a new translation

Results:

I got an exception (!) :

(1/1) #1476107295 TYPO3\CMS\Core\Error\Exception
PHP Warning: Undefined array key "NEW6653673f4a4cf520591996" in /var/www/html/typo3/sysext/core/Classes/DataHandling/DataHandler.php line 4899

error on the log module:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1476107295: PHP Warning: Undefined array key "NEW6653673f4a4cf520591996" in /var/www/html/typo3/sysext/core/Classes/DataHandling/DataHandler.php line 4899 | TYPO3\CMS\Core\Error\Exception thrown in file /var/www/html/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 138. Requested URL: https://typo3.main.it.ddev.site:8443/typo3/record/commit?token=--AnonymizedToken--&cmd%5Bpages%5D%5B795%5D%5Blocalize%5D=1&redirect=/typo3/record/edit?token%3D--AnonymizedToken--%26justLocalized%3Dpages:795:1%26returnUrl%3D/typo3/module/web/layout?token%253Db1601f5e2f64f21a91dbe14bd88169d4d6120b54%2526id%253D795
Actions #5

Updated by Georg Ringer about 1 month ago

  • Sprint Focus set to On Location Sprint
Actions

Also available in: Atom PDF