Bug #2481

Reflection-Service might crash, due to wrong exception

Added by Malte Jansen almost 13 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Reflection
Target version:
-
Start date:
2009-01-19
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

http://forge.typo3.org/repositories/changes/package-flow3/trunk/Classes/Reflection/F3_FLOW3_Reflection_Service.php

on line 208:
if ($this->initialized) throw new \F3\FLOW3\ReflectionException('The reflection service can only be initialized once.', 1232044696);

must be: \F3\FLOW3\Reflection\Exception

(The Exception does not exist...)

#1

Updated by Malte Jansen almost 13 years ago

An additional Exception would be useful, if there is no cache-object. Otherwise you get following exception:

Call to a member function has() on a non-object in ~\Packages\FLOW3\Classes\Reflection\F3_FLOW3_Reflection_Service.php on line 706

#2

Updated by Robert Lemke almost 13 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r1767.

Also available in: Atom PDF