Skip to content

Tags when not using SensioFrameworkExtraBundle #594

Open
@tjveldhuizen

Description

@tjveldhuizen

Since SensioFrameworkExtraBundle, we have switched from the ParamConverters to argument resolvers. This means, that the converted parameters are not longer available in the TagListener, resulting in issues generating tags based on the object ID, while we use slugs in our URL's.
As far as I understand, the Param converters, as their name says, literally replace the parameter in the request with the object. However, argument resolvers create an array of arguments used to execute the controller. Unfortunately they are not posted to the ResponseEvent listeners. Should the TagListener be bound to the ControllerArgumentsEvent, in this case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions