Bug #27825

TypeHandling should use the Collection interface as collection type

Added by Stephan Schuler about 4 years ago. Updated almost 4 years ago.

Status:Closed Start date:2011-07-04
Priority:Must have Due date:
Assigned To:Karsten Dambekalns % Done:

0%

Category:Utility
Target version:TYPO3 Flow Base Distribution - 1.0.0
PHP Version: Complexity:
Has patch: Affected Flow version:

Description

Only the following values are possible collection types that can have an element type annotation for children at the moment:
  • array
  • \ArrayObject
  • \SplObjectStorage
  • \Doctrine\Common\Collections\ArrayCollection

As a \Doctrine\Common\Collections\PersistentCollection is no \Doctrine\Common\Collections\ArrayCollection but implements the \Doctrine\Common\Collections\Collection interface as well, FLOW3 should use the Collection interface for determining if its a collection type.


Related issues

duplicated by TYPO3.Flow - Bug #29419: It is impossible to use the Collection interface in "type... Resolved 2011-09-01

History

#1 Updated by Karsten Dambekalns about 4 years ago

  • Category set to Utility
  • Status changed from New to Accepted
  • Assigned To set to Karsten Dambekalns
  • Target version set to 1230

#2 Updated by Karsten Dambekalns almost 4 years ago

  • Status changed from Accepted to Closed

Ok, I didn't realize we had this one when creating #29419 - refer to that one for actual progress on this issue.

#3 Updated by Karsten Dambekalns almost 4 years ago

  • Target version changed from 1230 to 1.0.0

Also available in: Atom PDF