Support from Acquia helps fund testing for Drupal Acquia logo

Comments

drunken monkey created an issue. See original summary.

drunken monkey’s picture

Here are the relevant patches already – one for declaring compatibility, and one for checking whether this already works as it should.
As said, though, we’ll probably have to wait for the other two issues until this makes sense.

drunken monkey’s picture

According to Berdir, it might also make sense to just make this part of #3123705: Deprecated code report. It’s up to you.

oknate’s picture

I'm getting an error with #2:

    https://www.drupal.org/files/issues/2020-04-10/3126605-2--declare_d9_compatibility.patch (3126605 Drupal 9 compatibility)
   Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2020-04-10/3126605-2--declare_d9_compatibility.patch
oknate’s picture

FileSize
350 bytes

Adding a different patch, to see if it applies.

oknate’s picture

s_leu’s picture

Just as a quick info here: I've added core_version_requirement in the latest patch posted in #3123705: Deprecated code report , so as already suggested in #3, probably would make most sense to move the work for this over there.

borisson_’s picture

The other issues have been committed. I think it should all already be ok for drupal 9. I did not see this issue so I'm afraid I did not give credit to everyone.

This patch does not apply anymore, but it is no longer needed.

What we do need to do is to fix the tests. See also https://www.drupal.org/pift-ci-job/1808030 they fail on 9.1 with:

Exception: Drupal\Tests\BrowserTestBase::$defaultTheme is required. See https://www.drupal.org/node/3083055, which includes recommendations on which theme to use.

This should hopefully be an easy fix.

divyesh19’s picture

Added $defaultTheme.
Hoping tests would now pass for 9.1.

  • borisson_ committed 899a553 on 8.x-1.x authored by divyesh19
    Issue #3126605 by drunken monkey, oknate, divyesh19: Declare...
borisson_’s picture

Status: Needs review » Fixed

Commited and pushed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.