Bug #47371

If matched AOP even wraps static methods which will fail on runtime

Added by Steffen Ritter almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Must have
Category:
AOP
Start date:
2013-04-19
Due date:
% Done:

100%

Estimated time:
PHP Version:
5.4
Has patch:
Yes
Complexity:

Description

Runtime execution fails if a static method is wrapped with AOP code because it tries to access the instance variable $this.

Static methods have to be skipped when compiling aop proxies.


Related issues

Has duplicate TYPO3.Flow - Bug #47309: Calling this in static context in cached classesClosed2013-04-17

Actions
#1

Updated by Gerrit Code Review almost 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch 2.0 has been pushed to the review server.
It is available at https://review.typo3.org/20031

#2

Updated by Gerrit Code Review almost 8 years ago

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20032

#3

Updated by Gerrit Code Review almost 8 years ago

Patch set 2 for branch 2.0 has been pushed to the review server.
It is available at https://review.typo3.org/20031

#4

Updated by Gerrit Code Review almost 8 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20032

#5

Updated by Gerrit Code Review almost 8 years ago

Patch set 3 for branch 2.0 has been pushed to the review server.
It is available at https://review.typo3.org/20031

#6

Updated by Steffen Ritter almost 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF