Bug #2481
Reflection-Service might crash, due to wrong exception
Status: | Resolved | Start date: | 2009-01-19 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 100% |
|
Category: | Reflection | |||
Target version: | - | |||
PHP Version: | Complexity: | |||
Has patch: | Affected Flow version: |
Description
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...)
Associated revisions
- FLOW3: (Reflection) Fixed an exception in the Reflection Service. Resolves #2481
- FLOW3: (Reflection) Fixes failing tests of last commit. Refs #2481
History
#1 Updated by Malte Jansen over 6 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 over 6 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r1767.