Issue 23 in addendum: Unknown class passed as parameter in is_subclass

5 views
Skip to first unread message

codesite...@google.com

unread,
Oct 12, 2010, 4:24:45 AM10/12/10
to addendum...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 23 by jeffreiffers: Unknown class passed as parameter in
is_subclass
http://code.google.com/p/addendum/issues/detail?id=23

What steps will reproduce the problem?
1. Set Ignore annotations
2. Instantiate ReflectionAnnotatedClass with Doctrine2 Entity
3.

What is the expected output? What do you see instead?
Expected to find extra annotations other then Doctrine2 Annotations.

What version of the product are you using? On what operating system?
Latest

Please provide any additional information below.

Put the ignore check before the is_subclass in the annotationsbuilder class
to fix this:

!Addendum::ignores($class) && is_subclass_of($class, 'Annotation')


codesite...@google.com

unread,
Oct 12, 2010, 4:28:45 AM10/12/10
to addendum...@googlegroups.com

Comment #1 on issue 23 by jeffreiffers: Unknown class passed as parameter
in is_subclass
http://code.google.com/p/addendum/issues/detail?id=23

Used version is 0.4.0

Jan Suchal

unread,
Oct 12, 2010, 7:54:02 AM10/12/10
to addendum...@googlegroups.com
Hi, try using newest version from repository. This should have been
fixed by http://code.google.com/p/addendum/source/detail?r=62#
Reply all
Reply to author
Forward
0 new messages