Project

General

Profile

Actions

Bug #99255

closed

recycler: PHP Warning: Undefined array keys "crdate" and "tstamp"

Added by Tobias Gülzow over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Recycler
Target version:
-
Start date:
2022-12-02
Due date:
% Done:

100%

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

Description

Hi everyone.

I'm not sure if this is the right place to report this.

When using

  1. TYPO3 11.5.19
  2. PHP 8.1.12
  3. EXT:static_infotables
  4. EXT:recycler

You will get the dreaded undefined array key warning for crdate and tstamp when using the backend module of EXT:recycler.
The error is in the ajax request, and not in the backend module itself.

What is happening inside the code:
The problem is, that the table static_countries does not have a crdate or a tstamp .
The RecyclerAjaxController then triggers the warning here:
https://github.com/TYPO3/typo3/blob/v11.5.19/typo3/sysext/recycler/Classes/Controller/RecyclerAjaxController.php#L201
and here:
https://github.com/TYPO3/typo3/blob/v11.5.19/typo3/sysext/recycler/Classes/Controller/RecyclerAjaxController.php#L202

Tobi

Actions #1

Updated by Gerrit Code Review over 1 year ago

  • Status changed from New to Under Review

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

Actions #2

Updated by Gerrit Code Review over 1 year ago

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

Actions #3

Updated by Benni Mack over 1 year ago

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

Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF