Bug #6188

The properties of the AOP proxy should have a more "internal" name

Added by Andreas Förthner over 5 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2010-01-23
Priority:Must have Due date:
Assigned To:Andreas Förthner % Done:

100%

Category:AOP
Target version:TYPO3 Flow Base Distribution - 1.0 alpha 8
PHP Version: Complexity:
Has patch: Affected Flow version:

Description

The AOP proxy classes define several properties, e.g. $objectFactory. Now if you try to advice a class having defined one of these properties with the same name, but as static, this ends up in a fatal error.

Solution: Give these properties a name probably nobody else will use, like FLOW3_AOP_Proxy_objectFactory.

Are there any reasons this change would not work? If not, just assign this issue back to me and I will implement it.

Associated revisions

Revision 235c5d0a
Added by Andreas Förthner over 5 years ago

  • [+FEATURE] FLOW3 (AOP): If an advice is executed can now depend on runtime evaluations, which can be configured in the pointcut expression. Relates to #5659.
  • [~BUGFIX] FLOW3 (AOP): Properties of the AOP proxy class are now prefixed by FLOW3_AOP_Proxy_. This fixes #6188.
  • [~TASK] FLOW3 (AOP): Removed an unused function from the Framework class.

History

#1 Updated by Andreas Förthner over 5 years ago

  • Assigned To changed from Robert Lemke to Andreas Förthner

#2 Updated by Andreas Förthner over 5 years ago

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

Applied in changeset r3823.

Also available in: Atom PDF