Skip to content

Loading…

DDC-575: Ignoring some annotations #5081

Closed
doctrinebot opened this Issue · 3 comments

2 participants

@doctrinebot

Jira issue originally created by user drevolution:

Some placement of handler annotation is ignored.

PrePersist is ignored:

/****
 * @PrePersist
 *
 * Will trigger error.
 */
public function error()
{
    trigger_error('ERROR');
}

PrePersist works fine:

/****
 * @PrePersist
 * @foo
 *
 * Will trigger error.
 */
public function error()
{
    trigger_error('ERROR');
}
@doctrinebot

Comment created by romanb:

Is this issue still valid? Is Doctrine Common Beta3 still affected? or is it an ORM issue?

@doctrinebot

Comment created by @beberlei:

Cannot reproduce, i have added a test-case that shows exactly the described code:

http://github.com/doctrine/common/commit/3b42776ada70cf4161082c155f5d8ba9326ce674

However here the relevant annotation is detected correctly in both cases.

Closed.

@doctrinebot

Issue was closed with resolution "Cannot Reproduce"

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.0-BETA3 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.