Issue Bug Closed

#97627Page translation only if new subpages are allowed?

Martin Meier 05/13/22, 14:26 updated 12/02/25, 14:33

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 :)

Reviews 2

History 915

  1. Martin Meier changed project id category TYPO3 Version 10 PHP Version 7.4 <span data-processor="relativetime" data-value="2022-05-13T14:50:44+00:00" > 05/13/22, 14:50 </span>

  2. Martin Meier changed start date TYPO3 Version 10 11 PHP Version 7.4 8.0 <span data-processor="relativetime" data-value="2022-09-07T13:34:50+00:00" > 09/07/22, 13:34 </span>

  3. Riccardo De Contardi commented <span data-processor="relativetime" data-value="2024-05-26T16:47:26+00:00" > 05/26/24, 16:47 </span>

    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
  4. Georg Ringer commented and changed status New Accepted TYPO3 Version 11 13 <span data-processor="relativetime" data-value="2025-04-20T15:42:28+00:00" > 04/20/25, 15:42 </span>

    confirmed still in main (v14)

  5. Gerrit Code Review pushed patch set 1 for main to change 90271 status Accepted Under Review <span data-processor="relativetime" data-value="2025-08-07T19:56:22+00:00" > 08/07/25, 19:56 </span>

  6. Lisa Kreitz commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-08-14T11:50:08+00:00" > 08/14/25, 11:50 </span>

    Applied in changeset commit:3a8e8b0b707283ec9ea845ca72a4e65da58c03e8.