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.
#2925169: PluginNotFoundException: The "node_type" plugin does not exist

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

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 Blog Post 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.8, varbase_blog-9.0.7

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 #3301364: Changed node_type to entity_bundle:node for default pathauto pattern configs for the Blog Post content type

Comments

Rajab Natshah created an issue. See original summary.

rajab natshah’s picture

Issue summary: View changes

  • Rajab Natshah committed 8ba5614 on 9.0.x
    Issue #3301364: Change node_type to entity_bundle.node for default...

  • Rajab Natshah committed 514fa7f on 9.0.x
    Issue #3301364: Change node_type to entity_bundle.node for default...

  • Rajab Natshah committed 864aead on 9.0.x
    Issue #3301364: Change node_type to entity_bundle.node for default...

  • Rajab Natshah committed ac0bcce on 10.0.x
    Issue #3301364: Change node_type to entity_bundle.node for default...
rajab natshah’s picture

  • Rajab Natshah committed d474c09 on 9.0.x
    Issue #3301364: Change node_type to entity_bundle.node for default...

  • Rajab Natshah committed e2384f9 on 10.0.x
    Issue #3301364: Change node_type to entity_bundle.node for default...
rajab natshah’s picture

Assigned: rajab natshah » mohammed j. razem
Issue summary: View changes
Status: Active » Needs review
Issue tags: +varbase-9.0.8, +varbase_blog-9.0.7
rajab natshah’s picture

Assigned: mohammed j. razem » Unassigned
rajab natshah’s picture

Title: Change node_type to entity_bundle.node for default pathauto pattern configs for the Blog Post content type » Change node_type to entity_bundle:node for default pathauto pattern configs for the Blog Post content type
Issue summary: View changes
rajab natshah’s picture

Status: Needs review » Fixed
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes

✅ Released varbase_blog-9.0.7

rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes

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.

rajab natshah’s picture

Issue summary: View changes

✅ Released varbase-9.0.8

rajab natshah’s picture

Status: Fixed » Closed (fixed)