Bug #25851
Methods whose name contain "protected" can't be adviced
Status: | Resolved | Start date: | 2011-04-08 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Robert Lemke | % Done: | 100% |
|
Category: | AOP | |||
Target version: | TYPO3 Flow Base Distribution - 1.0 beta 1 | |||
PHP Version: | Complexity: | |||
Has patch: | Affected Flow version: |
Description
Due to a bug in the pointcut expression parser, methods which contain the string "public" or "protected" in their name cannot be adviced or trigger a Syntax Error exception in the parser.
Associated revisions
[+BUGFIX] Methods whose name contain "protected" can't be adviced
This fixes a bug in the PointcutExpressionParser which was confused by
"protected" or "public" appearing as part of the adviced method name.
Also adds a test to assure that after returning advices work.
Change-Id: I11c5cdbeed4caa97682907a0cf39d689e79c3d4a
Resolves: #25851
History
#1 Updated by Mr. Hudson over 4 years ago
Patch set 1 of change I11c5cdbeed4caa97682907a0cf39d689e79c3d4a has been pushed to the review server.
It is available at http://review.typo3.org/1512
#2 Updated by Mr. Hudson over 4 years ago
Patch set 2 of change I11c5cdbeed4caa97682907a0cf39d689e79c3d4a has been pushed to the review server.
It is available at http://review.typo3.org/1512
#3 Updated by Robert Lemke over 4 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Applied in changeset 036fd8b3a8a5a53c0295ceb9fbc785b1458dece1.