Thanks to visit codestin.com
Credit goes to github.com

Skip to content

2.7 regression - tracy.bar section does not accept service reference #390

Description

@janlanger

Version: 2.7.0

Bug Description

Config section tracy.bar does not accept reference to registered service.

Steps To Reproduce

Have this config section:

tracy:
	bar:
		- @doctrine.tracyBarPanel

In 2.7 this generates error Nette\DI\InvalidConfigurationException: The option 'tracy › bar › 0' expects to be class or Nette\DI\Definitions\Statement, string '@doctrine.tracyBarPanel' given. in container compilation.

Expected Behavior

should work as it worked in 2.6

Possible Solution

string should probably be added to allowed values in TracyExtension. If I add it, container gets compiled and the app works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions