Problem/Motivation
drupal-check results on commit hash:
source : [git] https://git.drupal.org/project/content_access 0ee9336da6d5fd812650d332b639603148ec1906
source : http://cgit.drupalcode.org/content_access
------ ---------------------------------------------------
Line content_access.module
------ ---------------------------------------------------
775 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------
------ ---------------------------------------------------
Line src/Form/ContentAccessAdminSettingsForm.php
------ ---------------------------------------------------
76 Call to deprecated method l() of class Drupal.
168 Call to deprecated function drupal_set_message().
172 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------
------ ---------------------------------------------------
Line src/Form/ContentAccessPageForm.php
------ ---------------------------------------------------
102 Call to deprecated function drupal_set_message().
142 Call to deprecated function drupal_set_message().
186 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------
------ --------------------------------------------------------------------
Line src/Plugin/RulesAction/ActionGrantNodePermissions.php
------ --------------------------------------------------------------------
Class Drupal\rules\Core\RulesActionBase not found and could not be
autoloaded.
------ --------------------------------------------------------------------
------ --------------------------------------------------------------------
Line src/Plugin/RulesAction/ActionResetNodePermissions.php
------ --------------------------------------------------------------------
Class Drupal\rules\Core\RulesActionBase not found and could not be
autoloaded.
------ --------------------------------------------------------------------
------ --------------------------------------------------------------------
Line src/Plugin/RulesAction/ActionRevokeNodePermissions.php
------ --------------------------------------------------------------------
Class Drupal\rules\Core\RulesActionBase not found and could not be
autoloaded.
------ --------------------------------------------------------------------
------ --------------------------------------------------------------------
Line src/Plugin/RulesAction/ActionUserGrant.php
------ --------------------------------------------------------------------
Class
Drupal\content_access\Plugin\RulesAction\ContentAccessUserRulesAct
ionBase not found and could not be autoloaded.
------ --------------------------------------------------------------------
------ --------------------------------------------------------------------
Line src/Plugin/RulesAction/ActionUserRevoke.php
------ --------------------------------------------------------------------
Class
Drupal\content_access\Plugin\RulesAction\ContentAccessUserRulesAct
ionBase not found and could not be autoloaded.
------ --------------------------------------------------------------------
------ --------------------------------------------------------------------
Line src/Plugin/RulesAction/ContentAccessUserRulesActionBase.php
------ --------------------------------------------------------------------
Class Drupal\rules\Core\RulesActionBase not found and could not be
autoloaded.
------ --------------------------------------------------------------------
[ERROR] Found 13 errors
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | drupal_9_deprecated_code-3042944-3.patch | 4.64 KB | xem8vfdh |
| #6 | interdiff_1.patch | 712 bytes | xem8vfdh |
Comments
Comment #2
sergiu stici commentedHere is the patch, please review.
Comment #3
xem8vfdh commentedis this ready to go and be merged? If so, are we all squared away for D9 support?
Comment #4
xem8vfdh commentedI believe there is also acomposer.jsonchange that should be made to add the Drupal 9 support badge to the module's main page, as explained here: https://www.drupal.org/project/auto_entitylabel/issues/3111526EDIT: or perhaps the change needs to be made to thecore_version_requirementfield in the module's.infofile. Here's an example from another project: https://www.drupal.org/files/issues/2020-03-12/3119389-d9-upgrade-2.patchEDIT 2: my information about composer.yml and info.yml was incorrect, sorry. Apparently there is some switch the maintainer can flip to trigger the badge and mark the module as D9 compatible, but I don't know where that switch is since I am not a maintainer. Sorry.
Comment #5
xem8vfdh commentedComment #6
xem8vfdh commented@Sergiu Stici, when I applied you patch it resolved all of my
drupal-checkerrors except one:I've created interdiff_1.patch to resolve that. Now:
Comment #7
xem8vfdh commentedfull patch: drupal_9_deprecated_code-3042944-3.patch
Comment #8
xem8vfdh commentedComment #10
gisleThis is fixed in the latest snapshot 8.x-1.x-dev.
If you got an email about this Issue status update, it is because you at one time (possibly a very long time ago), subscribed to it. To learn how to unsubscribe yourself, please visit: https://www.drupal.org/project/webmasters/issues/3142987
Comment #11
xem8vfdh commented@gisle... what? I submitted this patch recently. the issue hasn't been open that long in drupal.org time. It looks like you did commit my patch, into the 8.x branch... when you said "7.x-1.x-dev" was that a typo? Apologies for the confusion.
Comment #12
gisleComment # 10 was a typo (comment #9 show it went into 8.x-1.x) - now corrected. I would never have applied cleanly to 7.x-1.x.
Thanks for the heads up.
Comment #13
xem8vfdh commentedthanks!