Bug #2481

Reflection-Service might crash, due to wrong exception

Added by Malte Jansen over 6 years ago. Updated almost 5 years ago.

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

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...)

Associated revisions

Revision 07ec85a9
Added by Robert Lemke over 6 years ago

  • FLOW3: (Reflection) Fixed an exception in the Reflection Service. Resolves #2481

Revision 10c049bc
Added by Robert Lemke over 6 years ago

  • 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.

Also available in: Atom PDF