Closed
Description
If the file specified using the --source-filter command line option is valid YAML but contains no valid filter, then no exception is thrown and no warning is given. For example, in one test the command line specified
--source-filter ldap:filter.yml
where the specified file's content was just
(cn=Smoke*)
This content is faulty (should have been all_users_filter: "(cn=Smoke*)" ) and doesn't define a valid filter. It's valid YAML though, parsing as a single string, so no exception is thrown.
It would be useful to produce a warning in the log for such a case.
Metadata
Metadata
Assignees
Labels
No labels