Minor one, just because I ran into this trap today:

This module depends on the core page_cache module, at least with RC1. The dependency should be added to the info.yml file, otherwise it might leave your site unusable if page cache is disabled, throwing weird symfony errors about the missing page.cache service.

Comments

drubb created an issue. See original summary.

hiramanpatil’s picture

Assigned: Unassigned » hiramanpatil
Status: Active » Needs work
hiramanpatil’s picture

Assigned: hiramanpatil » Unassigned
Status: Needs work » Needs review
StatusFileSize
new579 bytes

Added dependency. Please find attached patch.

tikaszvince’s picture

Title: Add missing dependency page_cache to info.yml » Remove unnecessary service dependencies
Priority: Minor » Major
StatusFileSize
new3.27 KB

Hi,

I think it would be better solution if this module and DrushLanguageCliService class do not demand dependencies if doesn't use those services at all. My patch removes those unnecessary dependencies.

grimreaper’s picture

Category: Feature request » Bug report
Status: Needs review » Reviewed & tested by the community
StatusFileSize
new4.14 KB

Hi,

Encountered this today. Sorry I missed that one in the refactoring of Drush language.

@tikaszvince: Thanks for the patch. I was about to make the same one.

Here is an updated patch because there were two unnecessary use remaining.

  • axel.rutz committed f9e02d9 on 8.x-1.x authored by tikaszvince
    Issue #2955277 by hiramanpatil, tikaszvince, drubb, Grimreaper: Remove...
geek-merlin’s picture

Status: Reviewed & tested by the community » Fixed

Ups, that sounds like a real PITA.
@grimreaper Yes i think you should know the code best ;-)
git-am-patch ++!

Released a quick RC2 with this.
Thanks guysngals for cleaning this up!

grimreaper’s picture

@axel.rutz: Thanks for the merge and the release. :)

Status: Fixed » Closed (fixed)

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