Closed (fixed)
Project:
Key
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
23 Aug 2019 at 20:46 UTC
Updated:
11 May 2020 at 18:03 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
aaronbaumanswap out ConfigurablePluginInterface for ConfigurableInterface and DependentPluginInterface
Comment #3
rlhawkThanks for the patch.
Comment #5
rlhawkComment #6
dagomar commentedI'm sorry to re-open this but since it's been committed so recently I figured it might be useful to add this here.
This patch makes use of ConfigurableInterface, which only became available from drupal 8.7. This means any site still on 8.6 (supported through to december 2019) will have fatal errors. In our case it's possible to upgrade to 8.7, but not everybody will be in that position. See this issue: https://www.drupal.org/project/password_policy/issues/3061382 for the same problem in another module, with some helpful discussion for a solution.
Comment #7
rlhawkAh, of course. Thanks for bringing this up. I will revert the change and keep this issue open, so it can be addressed closer to the release of Drupal 9.
Comment #9
rlhawkComment #10
jcnventuraRTBC is a better issue status. Even if it must be postponed until December 4, 2019.
Comment #11
sonnykt8.x-1.10 reverts this change to maintain compatibility with Drupal <8.7, but 8.x-1.11 re-adds ConfigurableInterface hence Drupal 8.6 crashes because of the fatal error: https://git.drupalcode.org/project/key/compare/8.x-1.10...8.x-1.11#4251885a330bd1d6d93385f8e2c8eb672490e8aa
Comment #12
rlhawkThanks for catching that. I've reverted the changes to that one file, so the module remains compatible with Drupal 8.6.
Comment #14
rlhawk