[ 
https://issues.apache.org/jira/browse/APEXCORE-528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15657724#comment-15657724
 ] 

ASF GitHub Bot commented on APEXCORE-528:
-----------------------------------------

GitHub user twigglius opened a pull request:

    https://github.com/apache/apex-core/pull/417

    [APEXCORE-528] Fix OutputPort Default Optional Behavior 

    This PR removes the validation logic that requires output ports to be 
connected if not explicitly annotated as optional. This change complies with 
the behavior defined by the optional annotation as it states they should be 
optional by default.
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/twigglius/apex-core 
APEXCORE-528.optional-outports

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/apex-core/pull/417.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 #417
    
----

----


> Output Ports Not Optional by Default During Validation
> ------------------------------------------------------
>
>                 Key: APEXCORE-528
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-528
>             Project: Apache Apex Core
>          Issue Type: Bug
>    Affects Versions: 3.4.0
>            Reporter: Alex McCullough
>            Assignee: Alex McCullough
>            Priority: Minor
>
> The 'optional' OutputPortFieldAnnotation states that the default value is 
> true. When you build a DAG with multiple output ports the validator throws an 
> error telling you at least one must be connected. To fix, you must explicitly 
> add the annotation to all output ports and set the value to True, which is 
> supposed to already be the default.



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

Reply via email to