You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/04/02 03:19:25 UTC
[jira] [Commented] (APEXMALHAR-2005) Validation constraint @Size is
not honored by the platform during dag validation
[ https://issues.apache.org/jira/browse/APEXMALHAR-2005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15222619#comment-15222619 ]
ASF GitHub Bot commented on APEXMALHAR-2005:
--------------------------------------------
GitHub user chandnisingh opened a pull request:
https://github.com/apache/incubator-apex-malhar/pull/228
APEXMALHAR-2005 fix for timebased directory scanner's paths passing v…
…alidation even when empty
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/chandnisingh/incubator-apex-malhar APEXMALHAR-2005
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-apex-malhar/pull/228.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #228
----
commit 1dc105ce091a3f02ec813b0b1ae31310ac076e8f
Author: Chandni Singh <cs...@apache.org>
Date: 2016-04-02T00:23:16Z
APEXMALHAR-2005 fix for timebased directory scanner's paths passing validation even when empty
----
> Validation constraint @Size is not honored by the platform during dag validation
> ---------------------------------------------------------------------------------
>
> 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)