You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the sulu_route mapping is set to use the type generator, is still uses the default generator instead.
Expected Behavior
It appears that the generator-type isn't utilized here, as the default one is always used during automatic generation. Currently, there isn't a satisfactory solution for this since Normal route generation depends on the entity, which isn't accessible in the "api" call.
The generator used should be the one defined under the generator key, and the generate method should be called.
Actual Behavior
When the sulu_route mapping is set to use the type generator, is still uses the default generator instead.
Expected Behavior
It appears that the generator-type isn't utilized here, as the default one is always used during automatic generation. Currently, there isn't a satisfactory solution for this since Normal route generation depends on the entity, which isn't accessible in the "api" call.
The generator used should be the one defined under the generator key, and the generate method should be called.
Steps to Reproduce
sulu_article.yaml
The
ArtilceRouteGeneratorByType
class will never be called by it'sgenerate
method, and instead the default one route generation will be called.The text was updated successfully, but these errors were encountered: