deprecation notices in 4.3.x

Created on 26 October 2021, about 3 years ago
Updated 27 April 2023, over 1 year ago

Problem/Motivation

resolve deprecation notices in tests

Steps to reproduce

Proposed resolution

add :

$this->expectDeprecation('Connection::queryTemporary() is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. There is no replacement. See https://www.drupal.org/node/3211781');
    $this->expectDeprecation('Connection::generateTemporaryTableName() is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. There is no replacement. See https://www.drupal.org/node/3211781');

to SqlsrvTest::testTemporaryTables()

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs work

Version

4.3

Component

Code

Created by

🇺🇸United States Beakerboy Kentucky

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
  • @ranjit1032002 opened merge request.
  • Status changed to Needs review over 1 year ago
  • 🇮🇳India Ranjit1032002

    Created MR!82 for the issue mentioned, please review.
    Thank You.

  • 🇬🇧United Kingdom pstewart

    It looks like things have moved on a bit since Beakerboy opened this issue: queryTemporary is no longer deprecated per-se, however has been made optional in D10 by being moved to its own interface Drupal\Core\Database\SupportsTemporaryTablesInterface (see https://www.drupal.org/node/3316569 ). As this interface doesn't exist in D9.5, it implies we're going to need a new branch as we can't just introduce it while still supporting D9.5.

    Probs the way to go here is to amend the patch to drop the expectDeprecation for queryTemporary to resolve the issue for 4.3.x, and then address the support the new SupportsTemporaryTablesInterface in a new issue.

  • Status changed to Needs work over 1 year ago
Production build 0.71.5 2024