8000 Bug with constraint attach to a field ( using @Assert\True() annotation ) · Issue #18700 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Bug with constraint attach to a field ( using @Assert\True() annotation ) #18700
Closed
@AdriwanKenoby

Description

@AdriwanKenoby

When I try to add a custom constraint for a specific field with a method, the return statement is always false.

The same method use to verify form globaly works nice.

This method was named isUrl() in my case and verify if an url is online ( i check the header code with a curl request ).

I thought it was because i use the specific word "url" which could be use in otherway. But even if I change "url" in "path". I have the same issue.

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

      0