Skip to content

[Bug]: CType t3sbs_button: Cut & Paste across pages causes PHP Warning / 500 error in DataHandler #505

Description

@Sunusually

TYPO3-Version

13.4.31

t3sbootstrap-Version

5.3.33

What happened?

Environment

Extension Version 5.3.33
TYPO3 Version 13.4.31
PHP Version 8.2.31

Description

When a content element of CType t3sbs_button is cut from a page and pasted onto another page, a 500 Internal Server Error occurs.

The error is triggered during the following AJAX request:

GET https://<host>/typo3/ajax/record/process
    ?token=...
    &CB[paste]=tt_content|2
    &CB[pad]=normal
    &CB[update][colPos]=0
    &CB[update][sys_language_uid]=0
    &CB[update][tx_container_parent]=0

Error Message

PHP Warning: Undefined array key "config" in
.../typo3/sysext/core/Classes/DataHandling/DataHandler.php line 4697

This warning is visible:

  • In the browser console (network response) when using the page view
  • Directly in the TYPO3 backend UI when using the list view with the clipboard

Steps to Reproduce

  1. Create a content element of type t3sbs_button on any page
  2. Cut the element (not copy) via the page view or list view
  3. Navigate to a different page
  4. Paste the element into a column
  5. → 500 error occurs, element is not pasted

Expected behavior

Expected Behavior

The element should be moved to the target page without errors, consistent with how Copy & Paste works.

Actual Behavior

A PHP Warning: Undefined array key "config" is thrown in DataHandler.php at line 4697, causing a 500 response for the paste AJAX request.

Additional Notes

  • Copy & Paste works correctly — only Cut & Paste is affected
  • The issue is specific to t3sbs_button; other CTypes have not been tested systematically

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions