Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.1.3
-
Fix Version/s: 2.2
-
Component/s: Mapping Drivers
-
Security Level: All
-
Labels:None
Description
NamedQueries annotation doesn't work with just one NamedQuery
the problem is locale in the class Doctrine\ORM\Mapping\Driver\AnnotationDriver line 179.
Is needed validate if var $namedQueriesAnnot->value is an array before try perform foreach statement.
Please I'm sorry for my bad English.
Thank you
Why dont you define the named queries as array? just @NamedQuery(
{...}) ?
Also please consider attaching a diff of your patch, not the whole changed class.