Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-31374

Cannot autowire service that has a dependency on TagHandler

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Medium Medium
    • n/a
    • None
    • None
    • None

    Description

      If a custom TagHandler is configured (as described in: https://github.com/ezsystems/ezplatform-http-cache/blob/master/docs/drivers.md#taghandler) a service that has a dependency on EzSystems\PlatformHttpCacheBundle\Handler\TagHandler cannot be autowired. Attempt to inject */TagHandler service ends-up with the following exception:

      Cannot autowire service "***": argument "$tagHandler" of method "__construct()" references class "EzSystems\PlatformHttpCacheBundle\Handler\TagHandler" but no such service exists.
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            kamil.madejski@ibexa.co Kamil Madejski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: