Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluescreen cannot render when magic __isset on rendered exception throws another exception #305

Closed
kukulich opened this issue May 26, 2018 · 0 comments

Comments

@kukulich
Copy link
Contributor

Version: 2.5.0

Bug Description

Bluescreen cannot render when magic __isset on rendered exception throws another exception.

The problematic code is:

if (!empty($ex->tracyAction['link']) && !empty($ex->tracyAction['label'])) {
	$actions[] = $ex->tracyAction;
}

Steps To Reproduce

Try to render this exception:

class FooException extends Exception
{
	public function __isset($name)
	{
                throw new Exception('Isset is disabled');
	}    
}

Possible Solution

There should be an interface to detect exceptions with actions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant