Problem/Motivation

Introduced in 6.0.7 (https://git.drupalcode.org/project/radix/-/commit/7d6afd15723781fb97c5a1...)
Breaks functionality on sites on D10.6 at least.

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "Drupal\radix\Hook\ViewHooks". Did you mean this: "Drupal\token\Hook\TokenHooks"? in Drupal\Component\DependencyInjection\Container->get() (line 159 of core/lib/Drupal/Component/DependencyInjection/Container.php).

Drupal::service() (Line: 20)
radix_theme_suggestions_views_view_alter() (Line: 458)
Drupal\Core\Theme\ThemeManager->alterForTheme() (Line: 467)
....

Steps to reproduce

Update to 6.0.7 using D10.x, then CR

Proposed resolution

Similar to https://www.drupal.org/project/classy/issues/3600782

Issue fork radix-3604159

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

gorkagr created an issue. See original summary.

  • doxigo committed 6ed553eb on 6.0.x authored by gorkagr
    Resolve #3604159 "Servicenotfoundexception you have"
    
doxigo’s picture

Status: Active » Fixed

oh yes that is really a breaking change, we need to revert everything for now, can't support D12 it seems. Thanks for the MR
Merged for now, will tag a new release just to avoid the breaking upgrade

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.

gorkagr’s picture

thank you for the quick response and also @dimitriskr for the quick hint on slack for a solution

hanoii’s picture

This should have worked, there must be something else going on but I don't see a problem with this and D12 readiness. I did this another module. I might take a look but for now just noting it.

doxigo’s picture

Ariel, would be nice if you could check it out of course if you have the time

Status: Fixed » Closed (fixed)

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