Open ElectricMaxxx opened 7 years ago
From my POV the collection for the form is created in here: ../Doctrine/ODM/PHPCR/ChildrenCollection.php:98
Maybe we should provide an extra media children collection with basenames only, but i have no clue what happens when trying to persisten them afterwards. Or we shall use an extra media collection transformer to replace the collection before that.
Adding a collection of media files (images or files) to a node/document is quite easy. The persistence works, but trying to visualize them in a collection form type with the
ImageType
orFileType
as entity fails, as the collection is created with the nodes names as keys. Those keys, which are file names in case of medea files, fail on form name validation. with an exception like:But it would be nice to edit and persist files in a arbitrary collection without enclosing them into a document with nice names.