Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Debug] Restoring back the state of the Debug component (1st step)#32377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
fabpot commentedJul 4, 2019
ErrorRendeder instead of ErrorDumper? |
yceruto commentedJul 4, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I will also remove from the current Status: Needs Work |
yceruto commentedJul 4, 2019
Status: Needs Review (low/high Travis's failures are gone after merge) |
yceruto commentedJul 4, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
That one is nice too. Personally, I like |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
yceruto commentedJul 5, 2019
Thanks Nicolas! now Travis's low tests pass. Status: Needs Review |
nicolas-grekas commentedJul 8, 2019
It would make sense to me to remove error-catcher from the composer.json of the Debug component. |
6c7570c tofa47bebCompareyceruto commentedJul 8, 2019
@nicolas-grekas it's done now, thanks. |
nicolas-grekas commentedJul 9, 2019
Thank you@yceruto. |
…(1st step) (yceruto)This PR was squashed before being merged into the 4.4 branch (closes#32377).Discussion----------[Debug] Restoring back the state of the Debug component (1st step)| Q | A| ------------- | ---| Branch? | 4.4| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | yes| Tests pass? | yes| Fixed tickets |#32371| License | MITAfter a good discussion with@nicolas-grekas, we made the decision to split the current `ErrorCatcher` component into several: * `ErrorHandler` it would be the Debug component before these changes#31065, with everything related to ErrorHandler, Debug, DebugClassLoader classes and change its name. * `ErrorDumper` it would be the current ErrorCatcher but with FlattenException + the new error renderer system only.This is the first step, then we can deprecate everything for the Debug component in favor of the ErrorHandler and ErrorDumper components, **BUT without moving any code !!**, that would give us more freedom to do it correctly in the new components.NOTE: For this PR I've copy the `Debug` component directory from the revision prior to merged commit#31065 in 4.4 branch.Commits-------eda49e2 [Debug] Restoring back the state of the Debug component (1st step)
…nly) (yceruto)This PR was squashed before being merged into the 4.4 branch (closes#32470).Discussion----------Rename ErrorCatcher to ErrorRenderer (rendering part only)| Q | A| ------------- | ---| Branch? | 4.4| Bug fix? | no| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets | -| License | MIT| Doc PR | -Follow up#32377Commits-------fb5b042 Rename ErrorCatcher to ErrorRenderer (rendering part only)
…nly) (yceruto)This PR was squashed before being merged into the 4.4 branch (closes #32470).Discussion----------Rename ErrorCatcher to ErrorRenderer (rendering part only)| Q | A| ------------- | ---| Branch? | 4.4| Bug fix? | no| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets | -| License | MIT| Doc PR | -Follow upsymfony/symfony#32377Commits-------fb5b0429b2 Rename ErrorCatcher to ErrorRenderer (rendering part only)
…nly) (yceruto)This PR was squashed before being merged into the 4.4 branch (closes #32470).Discussion----------Rename ErrorCatcher to ErrorRenderer (rendering part only)| Q | A| ------------- | ---| Branch? | 4.4| Bug fix? | no| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets | -| License | MIT| Doc PR | -Follow upsymfony/symfony#32377Commits-------fb5b042 Rename ErrorCatcher to ErrorRenderer (rendering part only)
…nly) (yceruto)This PR was squashed before being merged into the 4.4 branch (closes #32470).Discussion----------Rename ErrorCatcher to ErrorRenderer (rendering part only)| Q | A| ------------- | ---| Branch? | 4.4| Bug fix? | no| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets | -| License | MIT| Doc PR | -Follow upsymfony/symfony#32377Commits-------fb5b0429b2 Rename ErrorCatcher to ErrorRenderer (rendering part only)
…nly) (yceruto)This PR was squashed before being merged into the 4.4 branch (closes #32470).Discussion----------Rename ErrorCatcher to ErrorRenderer (rendering part only)| Q | A| ------------- | ---| Branch? | 4.4| Bug fix? | no| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets | -| License | MIT| Doc PR | -Follow upsymfony/symfony#32377Commits-------fb5b0429b2 Rename ErrorCatcher to ErrorRenderer (rendering part only)
…nly) (yceruto)This PR was squashed before being merged into the 4.4 branch (closes #32470).Discussion----------Rename ErrorCatcher to ErrorRenderer (rendering part only)| Q | A| ------------- | ---| Branch? | 4.4| Bug fix? | no| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets | -| License | MIT| Doc PR | -Follow upsymfony/symfony#32377Commits-------fb5b0429b2 Rename ErrorCatcher to ErrorRenderer (rendering part only)
Uh oh!
There was an error while loading.Please reload this page.
After a good discussion with@nicolas-grekas, we made the decision to split the current
ErrorCatchercomponent into several:ErrorHandlerit would be the Debug component before these changesAdd ErrorHandler component #31065, with everything related to ErrorHandler, Debug, DebugClassLoader classes and change its name.ErrorDumperit would be the current ErrorCatcher but with FlattenException + the new error renderer system only.This is the first step, then we can deprecate everything for the Debug component in favor of the ErrorHandler and ErrorDumper components,BUT without moving any code !!, that would give us more freedom to do it correctly in the new components.
NOTE: For this PR I've copy the
Debugcomponent directory from the revision prior to merged commit#31065 in 4.4 branch.