Problem/Motivation

Need to update to 11.2.x in order to stay current with Drupal core and latest features. Want 11.3.x for the performance improvements.

Completed tasks

  1. Create a 6.2.x branch
  2. Upgrade testing for D11.2.10+
  3. Identified two bugs and provided two fixes (see remaining tasks below)

Remaining tasks

  1. Merge fix to layout_builder_st (comment #12) into wxt composer.json DONE
  2. Fix for CK5 exception on node edit (comment #14) review and rework this fix for the build or take it straight up (see patch) DONE
  3. test and confirm fresh install DONE
  4. resolve any remaining issues relating to a fresh install DONE
  5. Create a 6.3.x branch (See new issue)
  6. Repeat upgrade testing for D11.3.2+ (See new issue)

Comments

smulvih2 created an issue. See original summary.

smulvih2’s picture

StatusFileSize
new124.8 KB

I've got WxT upgraded to Drupal 11.2.7 and running locally on latest docker-scaffold 11.2.x.

Here are the packages that have been updated:

  • drupalwxt/wxt 6.1.x => 6.2.x
  • drupal/wxt_bootstrap 11.1.x => 11.2.x
  • drupal/wxt_library 11.1.x => 11.2.x
  • docker-scaffold 11.1.x => 11.2.x

In general this update was pretty straightforward (so far), and Drupal 11 is starting to mature so we are seeing a much cleaner composer.json:

Overview of composer.json changes:

  • Remove 2 core patches (rolled into 11.2.x)
  • Remove 1 entity_browser patch (raolled into latest release)
  • Upgrade of 9 contrib modules from dev/alpha/beta/rc to full releases

WxT status page on 11.2.7

joseph.olstad’s picture

joseph.olstad’s picture

joseph.olstad’s picture

See my comment #17 in this issue:

#3487564-17: Correct dependencies

Hypothesis? Might be a simple way forward here.

joseph.olstad’s picture

Had a peek around at other distros,
Open Social is far behind us
Localgov is far behind us

varbase has managed to publish an upgrade that works with Drupal 11.3
https://www.drupal.org/project/varbase

Perhaps we can resolve the issue by looking at what other distros may have done.

There may be others that are better aligned to our pattern to look at but curious to see what varbase has done.

joseph.olstad’s picture

Title: 11.2.x upgrade » 11.3.x upgrade
joseph.olstad’s picture

Assigned: Unassigned » joseph.olstad
Status: Postponed » Active
StatusFileSize
new3.32 KB

dealing with bower-asset/cropper issue.

Here's a patch

joseph.olstad’s picture

joseph.olstad’s picture

alternative workaround to the bower-assets hiccup

composer install --prefer-dist --no-interaction

joseph.olstad’s picture

There is an upstream issue with asset-packagist.org that may get fixed at any time, I've got temporary workarounds in my local for testing purposes.

https://github.com/hiqdev/asset-packagist/issues/181

joseph.olstad’s picture

Upgrade looks good so far, found one fix that needs to go in so far:

Needing an additional patch for layout_builder_st relating to the D11.2 upgrade

https://www.drupal.org/files/issues/2026-01-09/3566683-fix-error-on-stat...

#3566683: Error on status page: Too few arguments to RequirementHooks::runtimeRequirements()

I'll continue my testing, but this one needs to go in for sure.

Fix for wxt/composer.json:

Add this to patches

            "drupal/layout_builder_st": {
                "3566683 - Fix for WSOD on /admin/reports/status page.":
                "https://www.drupal.org/files/issues/2026-01-09/3566683-fix-error-on-status-report.patch"
            },
joseph.olstad’s picture

Found another bug, fix in comment #14

Add a basic page. Ckeditor5 crashes. Found the culprit, wxt_panel.js

ckeditor5.js?t94tvw:467 TypeError: Cannot read properties of undefined (reading 'check')
    at new FormView (wxt_panel.js?t94tvw:631:112)
    at PanelUI._createFormView (wxt_panel.js?t94tvw:470:26)
    at PanelUI.init (wxt_panel.js?t94tvw:449:30)
joseph.olstad’s picture

StatusFileSize
new2.33 KB

ok patch for reported issue from comment #13.

With this patch, ckeditor5 loads. I'm not sure exactly how good the patch is but at least ck5 loads without crashing now.

joseph.olstad’s picture

asset-packagist . org is functional again, removing the cropper patch, it's not needed. No change is needed at this time for cropper.

What IS needed is:

  1. Fix to layout_builder_st (comment #12)
  2. Fix for CK5 exception on node edit (comment #14)
  3. Fix for codemirror #3531472-24: Drupal 10.5 / 11.2 incompatibility
joseph.olstad’s picture

Version: 6.1.x-dev » 6.2.x-dev
Assigned: joseph.olstad » Unassigned
Status: Active » Needs review
joseph.olstad’s picture

Title: 11.3.x upgrade » 11.2.x -> 11.3.x upgrade
joseph.olstad’s picture

Issue summary: View changes
joseph.olstad’s picture

Issue summary: View changes
joseph.olstad’s picture

joseph.olstad’s picture

Title: 11.2.x -> 11.3.x upgrade » 11.2.x upgrade
Issue summary: View changes
Status: Needs review » Fixed
Related issues: +#3572653: WxT 6.3.x

Marking this as fixed, I've made a new ticket for 11.3.x and linked it here
#3572653: WxT 6.3.x

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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