Skip to content

[PropertyAccess] Issue with findAdderAndRemover() #17907

Closed
@tobske

Description

@tobske

If you have an entity A with a one-to-many collection to entity B and you use a form for entity A with the option allow_add for the collection you can have the following issue:
If entity A only contains a methods addB() but doesn't contain removeB() the PropertyAccessor doesn't return any method in findAdderAndRemover() and then throws a NoSuchPropertyException in writeProperty().

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions