Skip to content

Typo in Exception in Symfony\Component\Form\Form #22103

@desmax

Description

@desmax
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version master

File https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Form/Form.php

throw new RuntimeException('A cycle was detected. Listeners to the PRE_SET_DATA event must not call setData(). You should call setData() on the FormEvent object instead.');

I believe here is a typo, in first case there should be getData instead of setData.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DXDX = Developer eXperience (anything that improves the experience of using Symfony)Form

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions