Compatibility with drupal 10

Created on 30 October 2023, about 1 year ago
Updated 14 November 2023, about 1 year ago

I simply added ^10 in the core_version_requirement (In commerce_chronopost.info.yml) in order for it to work on drupal-10 as well.

💬 Support request
Status

Fixed

Version

1.0

Component

Code

Created by

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

Comments & Activities

  • Issue created by @MartinPJB
  • Status changed to Needs work about 1 year ago
  • 🇫🇷France solene_ggd

    Thanks for your patch, please use double pipes to add D10 compatibility in core_version_requirement instead of single pipe.
    Moreover, I see an entity query created in commerce_chronopost_cron() that needs an accessCheck() to be D10 compatible.
    Please fix your patch.

  • I apologize for not noticing I forgot a pipe in the core_version_requirement line. Here is a fix to this patch adding a pipe, and also an

    ->accessCheck()
    

    in the commerce_chronopost_cron() function available in commerce_chronopost.module.

  • Status changed to Needs review about 1 year ago
  • @nicolasgraph opened merge request.
  • Status changed to Fixed about 1 year ago
Production build 0.71.5 2024