DDC-575: Ignoring some annotations #709

Closed
opened 2026-01-22 12:47:37 +01:00 by admin · 3 comments
Owner

Originally created by @doctrinebot on GitHub (May 7, 2010).

Originally assigned to: @beberlei on GitHub.

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');
}
Originally created by @doctrinebot on GitHub (May 7, 2010). Originally assigned to: @beberlei on GitHub. 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'); } ```
admin added the Bug label 2026-01-22 12:47:37 +01:00
admin closed this issue 2026-01-22 12:47:38 +01:00
Author
Owner

@doctrinebot commented on GitHub (Jul 1, 2010):

Comment created by romanb:

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

@doctrinebot commented on GitHub (Jul 1, 2010): Comment created by romanb: Is this issue still valid? Is Doctrine Common Beta3 still affected? or is it an ORM issue?
Author
Owner

@doctrinebot commented on GitHub (Jul 9, 2010):

Comment created by @beberlei:

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

3b42776ada

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

Closed.

@doctrinebot commented on GitHub (Jul 9, 2010): 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.
Author
Owner

@doctrinebot commented on GitHub (Jul 9, 2010):

Issue was closed with resolution "Cannot Reproduce"

@doctrinebot commented on GitHub (Jul 9, 2010): Issue was closed with resolution "Cannot Reproduce"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#709