Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Medium
-
Resolution: Fixed
-
Affects Version/s: 1.3.1, 1.4.1
-
Fix Version/s: 1.5.0
-
Component/s: Platform > REST API v2
-
Labels:None
Description
You can define custom output visitors and tag it (name: ezpublish_rest.output.visitor, regexps: something) but it won't work with current implementation unless you load your bundle before new eZ\Bundle\EzPublishRestBundle\EzPublishRestBundle(), (and this way sucks). It's because of order of output visitors passed to compiler pass while kernel configuration contains Pokemon "gotta catch'em all" regexp (^./.$) so it always return application/vnd.ez.api... regardless of visitors and generators registered after that one.
Attachments
Issue Links
- testing discovered
-
EZP-26242 If two REST output visitors have the same regex, the one with the lowest priority is ignored
-
- Closed
-