Bug #9
AOP Framework doesn't work at all - invalid type "...BasicClass_AOPProxy"
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Robert Lemke | % Done: | 0% |
|
Category: | Reflection | |||
Target version: | TYPO3 Flow Base Distribution - 0.1 | |||
PHP Version: | Complexity: | |||
Has patch: | Affected Flow version: |
Description
The T3P_Core_AOPFramework_Tests fail all and the FileCache/.../AOPProxy directory contains no files.
PHP Version: 5.1.6
OS: Gentoo Linux
History
#1 Updated by Robert Lemke over 8 years ago
- Status changed from New to Accepted
The problem occurs in the T3P_Reflection_Class and can be exposed as follows:
In T3P_CoreAOPFramweork->buildAspectsFromComponents() add the following lines after the $class = new T3P_Reflection_Class statement:
$secondClass = new Reflection_Class($componentConfiguration->getClassName()); echo ($secondClass->getDocComment());
The expected result is the doc comment of all component classes, however in this case no comment is shown. This might be a bug in PHP 5.1.6 although we didn't find a bug report in the PHP bug tracker.
#2 Updated by Robert Lemke over 8 years ago
- Status changed from Accepted to Closed
- Sprint set to fixed
(In r129) * Fixed a little error in index.php
- Added a PHP version check to the TYPO3 class, now requires at least PHP version 5.2.0. Fixes #9.
#3 Updated by Robert Lemke over 8 years ago
Upgrading to PHP 5.2.0 solved the problem.