[DCOM-31] setAutoloadAnnotationClasses() within AnnotationReader fails Created: 12/Nov/10  Updated: 15/Nov/10  Resolved: 15/Nov/10

Status: Resolved
Project: Doctrine Common
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0.0-RC2

Type: Bug Priority: Major
Reporter: Timo A. Hummel Assignee: Benjamin Eberlei
Resolution: Duplicate Votes: 0
Labels: None


 Description   

When calling setAutoloadAnnotationClasses() from within AnnotationReader, it fails because setAutoloadAnnotationClasses() is not implemented in Doctrine\Common\Annotations\Parser.

This should be fixed, or at least a FeatureNotImplementedException or such.



 Comments   
Comment by Benjamin Eberlei [ 15/Nov/10 ]

Duplicate of DCOM-25





[DCOM-27] Method Next from ArrayCollection needs to return something! Created: 11/Oct/10  Updated: 31/Oct/10  Resolved: 31/Oct/10

Status: Resolved
Project: Doctrine Common
Component/s: Collections
Affects Version/s: 2.0.0-RC1
Fix Version/s: 2.0.0-RC2

Type: Bug Priority: Critical
Reporter: Henrique Girardi dos Santos Assignee: Benjamin Eberlei
Resolution: Fixed Votes: 0
Labels: None


 Description   

I think this method needs to return something...

/**

  • Moves the internal iterator position to the next element.
    *
  • @return mixed
    */
    public function next() { next($this->_elements); }

doctrine-common/lib/Doctrine/Common/Collections/ArrayCollection.php



 Comments   
Comment by Benjamin Eberlei [ 31/Oct/10 ]

resolved





[DCOM-25] method setAutoloadAnnotationClasses-fails Created: 25/Sep/10  Updated: 31/Oct/10  Resolved: 31/Oct/10

Status: Resolved
Project: Doctrine Common
Component/s: Annotations
Affects Version/s: 2.0.0-RC1
Fix Version/s: 2.0.0-RC2

Type: Bug Priority: Critical
Reporter: Margus Sipria Assignee: Benjamin Eberlei
Resolution: Fixed Votes: 0
Labels: None


 Description   

$reader = new Doctrine\Common\Annotations\AnnotationReader();
$reader->setAutoloadAnnotationClasses(true);

above code is trying use default parser's setAutoloadAnnotationClasses-method, which isn't found, instead parser has setAutoloadAnnotations.



 Comments   
Comment by Benjamin Eberlei [ 31/Oct/10 ]

fixed.





Generated at Sun Oct 26 08:58:28 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.