[ 
https://issues.apache.org/jira/browse/APEXMALHAR-2005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chandni Singh updated APEXMALHAR-2005:
--------------------------------------
    Summary: FileSplitterInput: `paths` field in TimeBasedDirectoryScanner is 
not validated unless scanner is marked as @Valid  (was: Validation constraint 
@Size is not honored by the platform during dag validation )

> FileSplitterInput: `paths` field in TimeBasedDirectoryScanner is not 
> validated unless scanner is marked as @Valid
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: APEXMALHAR-2005
>                 URL: https://issues.apache.org/jira/browse/APEXMALHAR-2005
>             Project: Apache Apex Malhar
>          Issue Type: Bug
>            Reporter: Chandni Singh
>            Assignee: Chandni Singh
>
> I created a DAG :
> FileSplitterInput -> BlockReader -> Devnull
> Splitter has a property TimeBasedDirectoryScanner which has a property 
> `files` that is a Set of Strings.
> I have marked that property with {code} @Size(min = 1) {code}. However even 
> when the set is empty, dag validation passes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to