Add support for Drupal 10

Created on 4 January 2023, almost 2 years ago
Updated 21 December 2023, 12 months ago
4 warnings found.

web/modules/contrib/io_builder/io_builder.libraries.yml:
┌──────────┬──────┬─────────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                           MESSAGE                           │
├──────────┼──────┼─────────────────────────────────────────────────────────────┤
│ Check    │ 0    │ The 'io_builder' library is depending on a deprecated       │
│ manually │      │ library. The "core/popperjs" asset library is deprecated in │
│          │      │ Drupal 9.5.0 and will be removed in Drupal 10.0.0. There is │
│          │      │ no replacement. See https://www.drupal.org/node/3307518     │
│          │      │                                                             │
│ Check    │ 0    │ The 'io_builder.attach_behaviors' library is depending on a │
│ manually │      │ deprecated library. The core/jquery.once asset library is   │
│          │      │ deprecated in Drupal 9.3.0 and will be removed in Drupal    │
│          │      │ 10.0.0. Use the core/once library instead. See              │
│          │      │ https://www.drupal.org/node/3158256                         │
│          │      │                                                             │
└──────────┴──────┴─────────────────────────────────────────────────────────────┘

web/modules/contrib/io_builder/io_builder.info.yml:
┌──────────┬──────┬────────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                          MESSAGE                           │
├──────────┼──────┼────────────────────────────────────────────────────────────┤
│ Check    │ 0    │ Value of core_version_requirement: ^8 || ^9 is not         │
│ manually │      │ compatible with the next major version of Drupal core. See │
│          │      │ https://drupal.org/node/3070687.                           │
│          │      │                                                            │
└──────────┴──────┴────────────────────────────────────────────────────────────┘

web/modules/contrib/io_builder/modules/io_builder_paragraphs/io_builder_paragrap
hs.info.yml:
┌──────────┬──────┬────────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                          MESSAGE                           │
├──────────┼──────┼────────────────────────────────────────────────────────────┤
│ Check    │ 0    │ Value of core_version_requirement: ^8 || ^9 is not         │
│ manually │      │ compatible with the next major version of Drupal core. See │
│          │      │ https://drupal.org/node/3070687.                           │
│          │      │                                                            │
└──────────┴──────┴────────────────────────────────────────────────────────────┘
📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇧🇪Belgium JeroenT 🇧🇪

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Merge request !5Issue #3331032: Add support for Drupal 10 → (Merged) created by JeroenT
  • 🇧🇪Belgium JeroenT 🇧🇪
  • Status changed to Needs review over 1 year ago
  • 🇧🇪Belgium JeroenT 🇧🇪
  • 🇧🇪Belgium JeroenT 🇧🇪
  • First commit to issue fork.
  • 🇧🇪Belgium mauro_

    After upgrading to D10, I'm getting following error when trying to edit a paragraph with a single text field in a field group with the patch above applied.

    /io-builder/entity/form?_wrapper_format=drupal_ajax&bundle=text&entity_type=paragraph&io_builder_context_id=io_builder_entity_context&language=nl&revision_id=293&view_mode=default

    Symfony\Component\HttpKernel\Exception\BadRequestHttpException: Input value "io_builder_context_tree" contains a non-scalar value. in Symfony\Component\HttpKernel\HttpKernel->handle() (regel 81 van /app/htdocs/vendor/symfony/http-kernel/HttpKernel.php).

    The error seems to be caused by line 378 of IoBuilderController.php (IoBuilderController::getIoBuilderContextTreeFromRequest) and was fixed for me by removing the extra request object on the request variable.

    I've added a commit to the MR and a new patch to this issue.

  • 🇧🇪Belgium mauro_

    It seems my previous patch didn't apply correctly. I have refactored and tested it against de dev release and it seems to be working now. I have tested adding, moving, editing and deleting paragraphs and I have encountered no other issues.

  • Status changed to Fixed 12 months ago
  • 🇧🇪Belgium mauro_

    Drupal 10 patch no longer required for 1.0.x. I will create a release soon

  • Status changed to Fixed 12 months ago
Production build 0.71.5 2024