Change node_type to entity_bundle:node for default pathauto pattern configs for the Varbase Landing Page (Paragraphs) content type

Created on 22 February 2023, over 1 year ago
Updated 9 March 2023, over 1 year ago

Problem/Motivation

CTools 8.x-3.10 was released on 28 Jul 2022 by japerry
https://www.drupal.org/project/ctools/releases/8.x-3.10

Thank you, Jakob

Facing issues with Drupal 9.4.4 and the latest release of ctools and pathauto
#3300682: [error] Drupal\Component\Plugin\Exception\ContextException: The context is not a valid context.
#3301074: The context is not a valid context.
💬 PluginNotFoundException: The "node_type" plugin does not exist Fixed

Having a hook update with a copy of pathauto_update_8108()
https://git.drupalcode.org/project/pathauto/-/blob/8.x-1.10/pathauto.ins...
Based on the following comment by Berdir :
https://www.drupal.org/project/pathauto/issues/2925169#comment-14636138 💬 PluginNotFoundException: The "node_type" plugin does not exist Fixed

Pathauto 8.x-1.11 was released on 2 Aug 2022 at 23:35 EEST by: Berdir
https://www.drupal.org/project/pathauto/releases/8.x-1.11

IMPORTANT: Removal of ctools dependency
Pathauto no longer has a runtime dependency on the ctools module. This might cause problems if other modules implicitly use ctools functionality without depending on it.

Proposed resolution

  • Change node_type to entity_bundle:node for default pathauto pattern configs for the Varbase Landing Page (Paragraphs) content type
  • Have a hook update to make this work for old sites

Remaining tasks

  • ✅ File an issue about this project
  • ✅ Addition/Change/Update/Fix to this project
  • ✅ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ Accessibility and Readability
  • ✅ Code review from 1 Varbase core team member
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Update Release Notes and Update Helper on new feature change/addition
  • ✅ Release varbase-9.0.12 , varbase_landing-9.0.8

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3343658 : Changed node_type to entity_bundle:node for default pathauto pattern configs for the Varbase Landing Page (Paragraphs) content type
📌 Task
Status

Fixed

Version

9.0

Component

Code

Created by

🇯🇴Jordan Rajab Natshah Jordan

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

Comments & Activities

Production build 0.71.5 2024