Drupal 11 compatibility

Created on 2 August 2024, 5 months ago

Problem/Motivation

Drupal 11 is around the corner.
Will this module get an update? (patch, alternative download, whatever...)

btw,
I know about "migrating to core media from Video Embed Field." but it's a joke for non-technical users.
I also watched some core media tutorials but it's a huge pain. For me, I just want a video field (almost like an image field), simple and neat.
This module is simple for a reason.

Feature request
Status

Active

Version

2.5

Component

Code

Created by

🇷🇴Romania idflorin

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

Merge Requests

Comments & Activities

  • Issue created by @idflorin
  • Assigned to sourav_paul
  • Merge request !36Issue #3465381: Drupal 11 compatibility → (Open) created by sourav_paul
  • Issue was unassigned.
  • Status changed to Needs review 5 months ago
  • First commit to issue fork.
  • 🇮🇳India rajeshreeputra Pune

    For CKEditor support, including drop functionality and CKEditor 5 support, please see updates at Add support for Ckeditor 5 Needs review .

  • Pipeline finished with Failed
    4 months ago
    Total: 712s
    #255610
  • 🇮🇳India rajeshreeputra Pune

    Please review.

  • Pipeline finished with Failed
    4 months ago
    Total: 770s
    #255647
  • Pipeline finished with Failed
    4 months ago
    #255651
  • Pipeline finished with Failed
    4 months ago
    #255665
  • Pipeline finished with Failed
    4 months ago
    Total: 217s
    #258812
  • Pipeline finished with Failed
    4 months ago
    Total: 178s
    #258813
  • Pipeline finished with Failed
    4 months ago
    Total: 313s
    #258822
  • Pipeline finished with Failed
    4 months ago
    Total: 226s
    #258830
  • Pipeline finished with Failed
    4 months ago
    Total: 533s
    #258884
  • Pipeline finished with Failed
    4 months ago
    Total: 175s
    #258905
  • Pipeline finished with Failed
    4 months ago
    Total: 136s
    #258915
  • Pipeline finished with Failed
    4 months ago
    Total: 242s
    #258930
  • Pipeline finished with Failed
    4 months ago
    Total: 2682s
    #258917
  • Pipeline finished with Failed
    4 months ago
    Total: 193s
    #258955
  • Pipeline finished with Failed
    4 months ago
    Total: 251s
    #258964
  • Pipeline finished with Failed
    4 months ago
    Total: 283s
    #258972
  • Pipeline finished with Failed
    4 months ago
    Total: 197s
    #258998
  • 🇮🇳India rajeshreeputra Pune

    rajeshreeputra changed the visibility of the branch 3465381-drupal-11-compatibility-combine to hidden.

  • Pipeline finished with Failed
    4 months ago
    Total: 192s
    #259255
  • Pipeline finished with Failed
    4 months ago
    Total: 229s
    #259265
  • 🇮🇳India rajeshreeputra Pune

    Please review.

  • Pipeline finished with Failed
    4 months ago
    Total: 593s
    #259274
  • Pipeline finished with Failed
    4 months ago
    Total: 173s
    #259962
  • Pipeline finished with Failed
    4 months ago
    Total: 6733s
    #259948
  • Pipeline finished with Failed
    4 months ago
    Total: 171s
    #260092
  • Pipeline finished with Failed
    4 months ago
    Total: 162s
    #260316
  • Pipeline finished with Failed
    4 months ago
    Total: 230s
    #261086
  • Pipeline finished with Failed
    4 months ago
    Total: 236s
    #261423
  • Pipeline finished with Failed
    4 months ago
    Total: 73s
    #261438
  • Pipeline finished with Failed
    4 months ago
    #261439
  • Pipeline finished with Failed
    4 months ago
    Total: 265s
    #261448
  • Pipeline finished with Failed
    4 months ago
    #261449
  • Pipeline finished with Failed
    4 months ago
    Total: 273s
    #261513
  • Pipeline finished with Failed
    4 months ago
    Total: 174s
    #261540
  • Pipeline finished with Failed
    4 months ago
    Total: 212s
    #261587
  • Status changed to Needs work 4 months ago
  • Pipeline finished with Failed
    4 months ago
    Total: 395s
    #262300
  • Status changed to Needs review 4 months ago
  • 🇮🇳India rajeshreeputra Pune

    For next major we are waiting on Add support for Ckeditor 5 Needs review .

  • Pipeline finished with Failed
    4 months ago
    Total: 356s
    #262558
  • Status changed to Needs work 4 months ago
  • 🇮🇳India chandu7929 Pune

    PR !36 changes looks good to me, though D11 ci is failing hence its can't be consider for review. Hence needs work.

  • Pipeline finished with Failed
    4 months ago
    Total: 621s
    #264961
  • Pipeline finished with Failed
    4 months ago
    Total: 223s
    #265016
  • Pipeline finished with Failed
    4 months ago
    Total: 177s
    #265038
  • Pipeline finished with Failed
    4 months ago
    #265048
  • Pipeline finished with Failed
    4 months ago
    Total: 186s
    #265049
  • Pipeline finished with Failed
    4 months ago
    Total: 194s
    #265056
  • Pipeline finished with Failed
    4 months ago
    Total: 227s
    #265064
  • Pipeline finished with Failed
    4 months ago
    Total: 189s
    #265072
  • Pipeline finished with Failed
    4 months ago
    Total: 184s
    #265082
  • Pipeline finished with Failed
    4 months ago
    Total: 253s
    #265091
  • Pipeline finished with Failed
    4 months ago
    Total: 400s
    #265633
  • Pipeline finished with Failed
    4 months ago
    Total: 221s
    #265647
  • Pipeline finished with Failed
    4 months ago
    Total: 224s
    #265658
  • Pipeline finished with Failed
    4 months ago
    Total: 383s
    #265672
  • Pipeline finished with Failed
    4 months ago
    Total: 211s
    #265676
  • Pipeline finished with Failed
    4 months ago
    Total: 217s
    #265684
  • Pipeline finished with Failed
    4 months ago
    Total: 359s
    #265687
  • Pipeline finished with Failed
    4 months ago
    Total: 186s
    #266773
  • Pipeline finished with Failed
    4 months ago
    Total: 203s
    #266819
  • Pipeline finished with Failed
    4 months ago
    Total: 208s
    #266893
  • Pipeline finished with Failed
    4 months ago
    Total: 170s
    #266904
  • Status changed to Needs review 4 months ago
  • 🇮🇳India rajeshreeputra Pune

    CKEditor5 related changes are now completed as part of Add support for Ckeditor 5 Needs review .
    D11, CKE5 and other blocker issue changes combined here and CI result see here.

    D11 CKE5 issue with Undefined array key "status" in editor_form_filter_admin_format_submit() is 🐛 Undefined array key "status" in editor_form_filter_admin_format_submit() (line 257 of core/modules/editor/editor.module). Needs work .

    Requesting review.

  • Pipeline finished with Failed
    4 months ago
    Total: 1134s
    #267884
  • Pipeline finished with Failed
    4 months ago
    Total: 227s
    #267943
  • 🇮🇳India rajeshreeputra Pune

    @vishal.khode, updated MR with feedback changes.

  • Pipeline finished with Success
    4 months ago
    Total: 188s
    #271612
  • Status changed to RTBC 4 months ago
  • 🇮🇳India vishalkhode

    Reviewed changes, looks good to me now. Hence, RTBC.

  • 🇬🇧United Kingdom ice70

    Hi,

    I am trying to install the MR 36 as a patch (https://git.drupalcode.org/project/video_embed_field/-/merge_requests/36...)

    composer require 'drupal/video_embed_field:^2.5'

    the composer.json also has the following

    in the require definitions:
    "cweagans/composer-patches": "^1.7"

    and in the patches section:

    "drupal/video_embed_field":{
    				"https://www.drupal.org/project/video_embed_field/issues/3465381 Drupal 11 compatibility for Video Embed Field" :"https://git.drupalcode.org/project/video_embed_field/-/merge_requests/36.patch"
                },

    $ composer require 'drupal/video_embed_field:^2.5' -v

    But the patch fails to apply - I have edited the output down to make it a little easier to read through, it is essentailly a list of all the patched files "can't find file to patch at input line..":

    Found 1 patches for drupal/video_embed_field.

    > post-package-install: cweagans\Composer\Patches_composer_tmp1->postInstall
      - Applying patches for drupal/video_embed_field
        https://git.drupalcode.org/project/video_embed_field/-/merge_requests/36.patch (https://www.drupal.org/project/video_embed_field/issues/3465381 Drupal 11 compatibility for Video Embed Field)
    patch "-p1" --no-backup-if-mismatch -d "web/modules/contrib/video_embed_field" < "C:\Users\ice70\AppData\Local\Temp/66fd2fd4c4f7d.patch"
    patching file modules/video_embed_media/modules/vem_migrate_oembed/vem_migrate_oembed.info.yml
    ...
    can't find file to patch at input line 767
    Perhaps you used the wrong -p or --strip option?
    The text leading up to this was:
    --------------------------
    |diff --git a/modules/video_embed_media/modules/vem_migrate_oembed/tests/src/Functional/OEmbedUpdateTest.php b/modules/video_embed_media/modules/vem_migrate_oembed/tests/src/Functional/OEmbedUpdateTest.php
    |index 1aad766..e90a8c2 100644
    |--- a/modules/video_embed_media/modules/vem_migrate_oembed/tests/src/Functional/OEmbedUpdateTest.php
    |+++ b/modules/video_embed_media/modules/vem_migrate_oembed/tests/src/Functional/OEmbedUpdateTest.php
    --------------------------
    File to patch:
    Skip this patch? [y]
    Skipping patch.
    2 out of 2 hunks ignored

    How do I get the MR 36 patch to apply?

  • 🇨🇦Canada bohemier Québec city, Qc
  • 🇫🇷France mably

    Hi @rajeshreeputra thanks for all your great work on this Drupal 11 compatibility issue.

    I have initialized a 3.0.x branch with hopefully most of the fixes required for Drupal 11 and all tests are green in Gitlab CI.

    I had to remove the wysiwyg submodule for now as CKEditor 4 is incompatible with Drupal 11.

    Feel free to check the 3.0.x code and see if things are wrong or missing.

  • First commit to issue fork.
  • 🇮🇳India rajeshreeputra Pune

    Hi @mably, sure will take a look. Thank you for updates!

  • 🇺🇸United States mark_fullmer Tucson

    1. I did another static analysis of the 3.0.x branch and it did not report any PHP or Drupal deprecations.
    2. I installed the 3.0.x branch with the latest version of Drupal 11, both the main module and the media submodule, and confirmed that I was able to add and render a field to a node successfully, and add a new media item with the video_embed_field media plugin.

    A 3.x release would be wonderful, if even marked as an alpha release.

    Given that the CKEditor (4) integration has been removed in this branch, I think the module project page should also be updated to indicate that the 3.x branch does not provide *any* WYSIWYG integration (as I don't see any CKEditor 5 implementation).

  • 🇫🇷France mably

    Hi @mark_fullmer, the 3.0.0-alpha1 version has been released.

    Module page updated for CKEditor integration warning.

  • 🇺🇸United States mark_fullmer Tucson

    Thanks so much!

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024