Problem/Motivation

SHS is not compatible with Drupal 11

Steps to reproduce

Install via composer on the Drupal 11 project

Issue fork shs-3474133

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

vtamasc created an issue. See original summary.

vtamasc’s picture

StatusFileSize
new374 bytes

rajan kumar@2026 made their first commit to this issue’s fork.

rajan kumar@2026’s picture

Status: Active » Needs review
StatusFileSize
new11.78 KB

Hi @vtamasc

I have successfully applied patch #2 and created an MR. I have also attached a screenshot for reference. Please review it at your earliest convenience. Thank you!

vtamasc’s picture

Status: Needs review » Fixed

keshavv changed the visibility of the branch drupal-11-compatibility to hidden.

keshavv’s picture

StatusFileSize
new1.33 KB

Added Drupal 11 Dependency in sub-modules as well. Coull someone please review the patch and prepare the release?
Thanks.

keshavv’s picture

Status: Fixed » Needs review
joseph.olstad’s picture

add credit

  • joseph.olstad committed bbb60a42 on 3.0.x
    Issue #3474133 by vtamasc, rajan kumar@2026, keshavv, joseph.olstad:...
joseph.olstad’s picture

Status: Needs review » Fixed

edited

joseph.olstad’s picture

joseph.olstad’s picture

Status: Fixed » Active
joseph.olstad’s picture

Status: Active » Fixed

fixed for both 2.0.x dev and 3.0.x dev, please test these out for me and let me know

I will wait for positive feedback before tagging and publishing a Drupal 11 compatible release.

hernani’s picture

Should 2.0.x be also compatible?

It does not seem from the info file
https://git.drupalcode.org/project/shs/-/blob/2.0.x/shs.info.yml?ref_typ...

damienmckenna’s picture

Assigned: vtamasc » Unassigned

joseph.olstad’s picture

Status: Fixed » Needs review

2.0.x-dev and 3.0.x-dev need review, actual human to verify proper functioning in D11

jayapriya-18 made their first commit to this issue’s fork.

jayapriya-18 changed the visibility of the branch drupal-11-compatibility to active.

jmagunia’s picture

I was getting a JavaScript SHS App model error on Drupal 11 with 2.0.0.

Edit:

When I reverted to 2.0.0-rc12 and cleared the cache it fixed the issue.

Still getting that error on 2.0.0-rc12 too.

jmagunia’s picture

Status: Needs review » Needs work

There was mention that this app model error is due to BigPipe

#3495590: Incompatible with BigPipe in Drupal 11

Release 2.0.0 is also effected by it.

joseph.olstad’s picture

abelpzl’s picture

I tested MR!34 with Drupal 11
Shs not working if Big Pipe is enabled.
I don't check "Allow creating new items" but "Add new" button appears anyway.
Submodules are not compatible with Drupal 11, Chosen already has a compatible version, but select2 does not yet.

joseph.olstad’s picture

@abelpzi , please use the 2.0.1 release, it is the stable recommended "green" release.

https://www.drupal.org/project/shs/releases/2.0.1

There's no need for the above merge request when using shs version 2.0.1

joseph.olstad’s picture

@abelpzi,

thanks for the reminder, I tagged and released 3.0.0-alpha4

https://www.drupal.org/project/shs/releases/3.0.0-alpha4

joseph.olstad’s picture

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

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

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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