Skip to content

Collection Upload edit form problem #157

@ndoulgeridis

Description

@ndoulgeridis

Hello,

I have found an issue:

On file:
vendor/avocode/form-extensions-bundle/Avocode/FormExtensionsBundle/Twig/Extension/ImageAssetsExtension.php

there is in line 64:

$params[1] = $this->container->get('vich_uploader.property_mapping_factory')->fromField($object, $field)->getMappingName();

This change the right param 1 (which in my side is file) to the vich_upload mapping name so change it to gallery_image.

This has as a result to get Doctrine mapping error as gallery_image is not a field of course but vich_upload mapping name.

Am I right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions