Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Show silenced errors in separate tab#16760
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
stof commentedNov 30, 2015
this will have to wait for 3.1. It is too late to incorporate such change in 2.8/3.0 IMO, given that the release is today |
peterrehm commentedNov 30, 2015
Would be helpful in case of silenced errors as I experienced them and it is not really a feature, just makes the errors more visible. |
jakzal commentedDec 8, 2015
👍 nice touch status: reviewed |
sstok commentedDec 8, 2015
👍 |
peterrehm commentedDec 8, 2015
The question is just the target branch. As it is for me more like a bugfix it would be great to get this still into 2.8 to avoid confusion. |
Tobion commentedDec 8, 2015
I agree with this PR. But I'd like to see two changes:
If we do above changes, I'd also vote 👍 to merge it in 2.8 as it will prevent confusion due to these changes later. |
peterrehm commentedDec 9, 2015
@Tobion How would you convert the type back to the constant names? Any idea about that? |
Tobion commentedDec 9, 2015
Similar tohttps://github.com/symfony/symfony/blob/master/src/Symfony/Component/Debug/ErrorHandler.php#L49-L64 but with the constant names instead. Maybe the named constant should actually be added in the |
peterrehm commentedDec 10, 2015
I have updated it to include an error_level in the context. This way we can keep the same renderer and I think this provides enough information.@Tobion what do you think? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
please rename to$errorNames
peterrehm commentedDec 11, 2015
@Tobion Updated. |
Tobion commentedDec 11, 2015
👍 |
Tobion commentedDec 11, 2015
@javiereguiluz you agree with this PR as well? |
javiereguiluz commentedDec 11, 2015
@Tobion sure! I love it.@peterrehm thanks for adding this feature. |
Tobion commentedDec 11, 2015
Ok to merge in 2.8 as a usability fix (and easier maintanance)? Or must wait for 3.1? |
Tobion commentedDec 11, 2015
Tests are failing |
peterrehm commentedDec 11, 2015
Should be fixed now. |
Tobion commentedDec 11, 2015
Thank you@peterrehm. |
This PR was merged into the 2.8 branch.Discussion----------Show silenced errors in separate tab| Q | A| ------------- | ---| Bug fix? | no| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |#16740| License | MIT| Doc PR | -Show the silenced errors in a separate tab other than the debug information to reflect also the counts of the toolbar. Also related to@javiereguiluz's comment here#10466 (comment).<img width="1119" alt="bildschirmfoto 2015-11-30 um 16 46 09" src="https://cloud.githubusercontent.com/assets/2010989/11476234/e7fc71a4-9781-11e5-8c2c-0bee587699de.png"><img width="180" alt="bildschirmfoto 2015-11-30 um 16 47 05" src="https://cloud.githubusercontent.com/assets/2010989/11476256/04957eb4-9782-11e5-8a04-8513f076489c.png">Commits-------81d9b9d Show silenced errors in separate tab
Show the silenced errors in a separate tab other than the debug information to reflect also the counts of the toolbar. Also related to@javiereguiluz's comment here#10466 (comment).