8000 Finder Component: Exception thrown in DateComparator if file does not exist · Issue #11785 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Finder Component: Exception thrown in DateComparator if file does not exist #11785
Closed
@avi123

Description

@avi123

As a result of #9360, DateComparator no longer checks if a $fileInfo in the Comparator is an actual file. While this check was removed to allow for directories to be filtered properly as well, the unintended consequence is that files that don't exist cause an exception to be thrown when getMTime() is called.

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

      0