Skip to content

PropertyAccessor problem: "committee" -> "committoo" #18872

@mtijink

Description

@mtijink

When using Doctrine in symfony, we have a committee_member field and corresponding setCommitteeMember() in the entity.

However, this does not work since the PropertyAccessor turns this into setCommittooMember(), which does not work, of course.

I traced this problem to line 215-216 in StringUtil::singularify, where it assumes the ee signifies plurality.

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