Not working at all in Drupal 9.5.9

Created on 2 June 2023, over 1 year ago
Updated 4 June 2023, over 1 year ago

Problem/Motivation

I have just been experimenting with v1.0.2 and I have found that it correctly forms the Local task anchors when used in Drupal 10.0.9 like this...

https://drupal10/node/add/article?content_entity_clone=5

But in Drupal 9.5.9 not so; it is completely missing everything from the query '?' onwards ...

https://drupal10/node/add/article

🐛 Bug report
Status

Closed: works as designed

Version

1.0

Component

Miscellaneous

Created by

🇬🇧United Kingdom SirClickALot Somerset

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

Comments & Activities

  • Issue created by @SirClickALot
  • 🇬🇧United Kingdom SirClickALot Somerset

    Raised this is Major as it's a blocker for Drupal 9 sites and renders the module unusable.

  • Status changed to Postponed: needs info over 1 year ago
  • 🇯🇵Japan orakili

    I cannot reproduce the issue, the module works fine on 9.5.9 sites for me. You can try it on https://simplytest.me as well to confirm.

    Please provide more information.

    For example try implementing a hook_preprocess_menu_local_task and check what is in $variables['element']['#link']['localized_options'], it should be something like:

            'query' => [
              'content_entity_clone' => XXX,
            ],
    
  • 🇬🇧United Kingdom SirClickALot Somerset

    @orakili , thanks for looking into this.

    I've experimented further and you are right, I was also using the Sticky Local Tasks module on my D9 site and it turns out that it was the culprit.

    I will close the ticket in a moment.

  • Status changed to Closed: works as designed over 1 year ago
  • 🇬🇧United Kingdom SirClickALot Somerset
Production build 0.71.5 2024