apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chandni Singh (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (APEXCORE-361) Validation constraint @Size is not honored by the platform during dag validation
Date Mon, 29 Feb 2016 20:42:18 GMT

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

Chandni Singh resolved APEXCORE-361.
------------------------------------
    Resolution: Not A Problem

It is a bug in FileSplitterInput. It should annotate `TimeBasedDirectoryScanner` property
with {code}@Valid{code} 

> Validation constraint @Size is not honored by the platform during dag validation 
> ---------------------------------------------------------------------------------
>
>                 Key: APEXCORE-361
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-361
>             Project: Apache Apex Core
>          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)

Mime
View raw message