Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

[Debug] fix #10313: FlattenException not found #10817

Merged
merged 1 commit into from

2 participants

@nicolas-grekas
Collaborator
Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #10313
License MIT
Doc PR none

Note that this patch should be ignored while merging into 2.5/master (it will conflict because 2.5/master has a much stronger workaround, not suitable for a minor release IMHO).

@nicolas-grekas nicolas-grekas [Debug] fix #10313: FlattenException not found because of https://bug…
b147cfa
@fabpot
Owner

Good catch, thanks @nicolas-grekas.

@fabpot fabpot merged commit b147cfa into symfony:2.3
@fabpot fabpot referenced this pull request from a commit
@fabpot fabpot bug #10817 [Debug] fix #10313: FlattenException not found (nicolas-gr…
…ekas)

This PR was merged into the 2.3 branch.

Discussion
----------

[Debug] fix #10313: FlattenException not found

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #10313
| License       | MIT
| Doc PR        | none

Note that this patch should be ignored while merging into 2.5/master (it will conflict because 2.5/master has a much stronger workaround, not suitable for a minor release IMHO).

Commits
-------

b147cfa [Debug] fix #10313: FlattenException not found because of https://bugs.php.net/42098
c18bf19
@fabpot fabpot referenced this pull request from a commit
@fabpot fabpot Revert "bug #10817 [Debug] fix #10313: FlattenException not found (ni…
…colas-grekas)"

reverted in 2.5 as it does not make sense here.

This reverts commit c18bf19, reversing
changes made to 585b61d.
afca3cd
@nicolas-grekas nicolas-grekas deleted the nicolas-grekas:fix-10313 branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 29, 2014
  1. @nicolas-grekas

    [Debug] fix #10313: FlattenException not found because of https://bug…

    nicolas-grekas authored
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/Symfony/Component/Debug/ErrorHandler.php
View
3  src/Symfony/Component/Debug/ErrorHandler.php
@@ -125,6 +125,9 @@ function ($row) {
if (!class_exists('Symfony\Component\Debug\Exception\ContextErrorException')) {
require __DIR__.'/Exception/ContextErrorException.php';
}
+ if (!class_exists('Symfony\Component\Debug\Exception\FlattenException')) {
+ require __DIR__.'/Exception/FlattenException.php';
+ }
if (PHP_VERSION_ID < 50400 && isset($context['GLOBALS']) && is_array($context)) {
unset($context['GLOBALS']);
Something went wrong with that request. Please try again.