- Issue created by @project update bot
This is an automated patch generated using Upgrade Status and Drupal Rector. Please see the issue summary for more details. A merge request is also openend and updated.
It is important that any automated tests available are run and that you manually test the changes.
Drupal 11 Compatibility
According to the Upgrade Status module → , even with these changes, this module is not yet compatible with Drupal 11.
Currently Drupal Rector, version 0.20.1, cannot fix all Drupal 11 compatibility problems.
Therefore these changes did not update the
info.yml
file for Drupal 11 compatibility.Leaving this issue open, even after committing the current patch, will allow the Project Update Bot → to post additional Drupal 11 compatibility fixes as they become available in Drupal Rector.
Debug info
Bot run #11-120835This patch was created using these packages:
- drupal/upgrade_status: 4.1.0
- mglaman/phpstan-drupal: 1.2.7
- palantirnet/drupal-rector: 0.20.1
This comment was forced and has ignored the check if a change was already posted. This is only done when we want to update the issue without waiting for changes to happen.
This is an automated patch generated using Upgrade Status and Drupal Rector. Please see the issue summary for more details. A merge request (MR) is also openend and updated.
It is important that any automated tests available are run and that you manually test the changes.
Drupal 11 Compatibility
According to the Upgrade Status module → , even with these changes, this module is not yet compatible with Drupal 11.
Currently Drupal Rector, version 0.20.1, cannot fix all Drupal 11 compatibility problems.
Therefore, these changes did not update the
info.yml
file for Drupal 11 compatibility.The compatibility issues that Upgrade Status found after the Drupal Rector fixes were applied are attached to help you resolve them manually.
Leaving this issue open, even after committing the current patch or merging the MR, will allow the Project Update Bot → to post additional Drupal 11 compatibility fixes as they become available in Drupal Rector.
Debug information
Bot run #11-137198These packages were used to generate the fixes:
- drupal/upgrade_status: 4.1.0
- mglaman/phpstan-drupal: 1.2.10
- palantirnet/drupal-rector: 0.20.1
- First commit to issue fork.
- Status changed to RTBC
5 months ago 9:33pm 31 July 2024 - 🇺🇸United States BenStallings
I am no expert in this module, but I was able to install and use it with MR!59.
- Status changed to Needs work
5 months ago 10:07pm 31 July 2024 - 🇺🇸United States BenStallings
I spoke too soon... in addition to the things that have been fixed on this branch, Upgrade Status reports:
web/modules/composer/context/modules/context_ui/src/Plugin/Block/ContextInspector.php 37 Calls to function kpr should not exist.
web/modules/composer/context/src/Reaction/Blocks/Controller/ContextReactionBlocksController.php 188 The 'context_ui/admin' library is not defined because the defining extension is not installed. Cannot decide if it is deprecated or not.
web/modules/composer/context/modules/context_ui/src/Controller/ContextUIController.php 183 The 'context_ui/admin' library is not defined because the defining extension is not installed. Cannot decide if it is deprecated or not.
web/modules/composer/context/modules/context_ui/src/Controller/ContextUIController.php 259 The 'context_ui/admin' library is not defined because the defining extension is not installed. Cannot decide if it is deprecated or not.
- 🇩🇪Germany Anybody Porta Westfalica
Seems like the module isn't very actively maintained anymore?
Any maintainer plans now that D11 is out?
- 🇬🇧United Kingdom ice70
There is a merge request to fix the " Calls to function kpr should not exist"
https://www.drupal.org/project/context/issues/3357524 🐛 Calls to function kpr should not exist. Active
I applied this via composer / patches:
"patches": { "drupal/context": { "D11":"https://www.drupal.org/files/issues/2024-04-04/context.5.x-dev.rector.patch", "Calls to KPR" :"https://git.drupalcode.org/project/context/-/merge_requests/35.patch" } },
Using upgrade status 4.3.5, I did not get the remaining errors in https://www.drupal.org/project/context/issues/3429553#comment-15707676 📌 Automated Drupal 11 compatibility fixes for context Needs work instead I got notices that
context/context.info.yml
context/modules/context_ui/context_ui.info.ymldid not have the latest version supported - to fix, I just updated both yml files:
core_version_requirement: ^9.3 || ^10
to
core_version_requirement: ^9.3 || ^10 || ^11I tried to make a patch for this simple change, but my patch would not apply via composer. It applied fine by git against 5.x :(
- 🇬🇧United Kingdom ice70
ok, have a working patch. Is it a bit of a multi-patch setup, but it does clear the upgrade status warnings. The url to this patch will need to change to the correct link once the file has uploaded ("URL-TO-THIS-PATH/d11-3429553-9.patch"):
"drupal/context":{
" https://www.drupal.org/project/context/issues/3357524 🐛 Calls to function kpr should not exist. Active Calls to KPR" :"https://git.drupalcode.org/project/context/-/merge_requests/35.patch",
" https://www.drupal.org/project/context/issues/3429553 📌 Automated Drupal 11 compatibility fixes for context Needs work D11" : " https://www.drupal.org/files/issues/2024-04-04/context.5.x-dev.rector.patch → ",
" https://www.drupal.org/project/context/issues/3429553 📌 Automated Drupal 11 compatibility fixes for context Needs work D11 #9" : "URL-TO-THIS-PATH/d11-3429553-9.patch"
} - 🇮🇳India bmahesh03121
There is a different issue with MR ready for calls to kpr should not exist,
no other warning is found in the upgrade status except for .info.yml file changes which are fixed in this patch
moving this to RTBC - Status changed to RTBC
14 days ago 4:33am 6 December 2024 - 🇮🇳India peelas02
verified MR59 in drupal 10 and Drupal 11, functionality is working fine after applying patch https://www.drupal.org/project/context/issues/3357524 🐛 Calls to function kpr should not exist. Active
RTBC+1 - 🇮🇳India peelas02
verified MR59 in drupal 10 and Drupal 11, functionality is working fine after applying patch https://www.drupal.org/project/context/issues/3357524 🐛 Calls to function kpr should not exist. Active
RTBC+1