Project

General

Profile

Actions

Bug #96832

closed

Decrecated Exception thrown in DataHandler.php

Added by Frank W Blank almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2022-02-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.4
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
Remote Sprint

Description

Line 7464

catch (DBALException $e) {

deprecated since php 5.6

Actions #1

Updated by Frank W Blank almost 3 years ago

more Details

  • PHP: V7.4
  • TYPO3: V 9.5.31
  • File: /typo3/sysext/core/Classes/DataHandling/DataHandler.php
  • Line: 7464

The caught DBALException is deprecated since PHP 5.6 and must be replaced

Actions #2

Updated by Nikita Hovratov almost 3 years ago

Hi Frank, this Exception comes from doctrine/dbal. TYPO3 v9/v10 still support doctrine/dbal version 2.10.0. Because of this, we can't use the newer Doctrine\DBAL\Exception.

Actions #3

Updated by Mathias Schreiber over 2 years ago

  • Sprint Focus set to Remote Sprint
Actions #4

Updated by Andreas Kienast over 2 years ago

  • Status changed from New to Closed

As already mentioned, DBALException comes from doctrine/dbal, thus it cannot be "deprecated since PHP 5.6). I'll close this ticket now.

Kind regards
Andreas

Actions

Also available in: Atom PDF