Permalink
Browse files

bug #21292 Ignore missing 'debug.file_link_formatter' service in Debu…

…g bundle (core23)

This PR was merged into the 3.2 branch.

Discussion
----------

Ignore missing 'debug.file_link_formatter' service in Debug bundle

| Q             | A
| ------------- | ---
| Branch?       | 3.2
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | N/A
| License       | MIT
| Doc PR        | N/A

The new `HtmlDumper` requires the `debug.file_link_formatter` service which isn't available in older versions of the `DebugBundle`

Commits
-------

2201fbe Ignore missing 'debug.file_link_formatter' service in Debug bundle
  • Loading branch information...
2 parents bff782c + 2201fbe commit 7f79a50e53aa1eab65aadf91d07f2ce3d1e87a99 @nicolas-grekas nicolas-grekas committed Feb 6, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Symfony/Bundle/DebugBundle/Resources/config/services.xml
@@ -38,7 +38,7 @@
<argument>0</argument> <!-- flags -->
<call method="setDisplayOptions">
<argument type="collection">
- <argument key="fileLinkFormat" type="service" id="debug.file_link_formatter"></argument>
+ <argument key="fileLinkFormat" type="service" id="debug.file_link_formatter" on-invalid="ignore"></argument>
</argument>
</call>
</service>

0 comments on commit 7f79a50

Please sign in to comment.