Bug #25851

Methods whose name contain "protected" can't be adviced

Added by Robert Lemke about 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
AOP
Start date:
2011-04-08
Due date:
% Done:

100%

PHP Version:
Has patch:
Complexity:

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

Revision 036fd8b3 (diff)
Added by Robert Lemke about 8 years ago

[+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 about 8 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 about 8 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 about 8 years ago

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

Also available in: Atom PDF