You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Zack Shoylev (JIRA)" <ji...@apache.org> on 2015/03/26 01:20:52 UTC

[jira] [Created] (JCLOUDS-864) Neutron Security Group Rule requires port ranges when it should not

Zack Shoylev created JCLOUDS-864:
------------------------------------

             Summary: Neutron Security Group Rule requires port ranges when it should not
                 Key: JCLOUDS-864
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-864
             Project: jclouds
          Issue Type: Bug
          Components: jclouds-labs-openstack
    Affects Versions: 1.9.0
            Reporter: Zack Shoylev
            Assignee: Zack Shoylev
            Priority: Minor
             Fix For: 2.0.0


Port range min/max are optional, however the code will throw an NPE here if they are not present:
https://github.com/jclouds/jclouds-labs-openstack/blob/master/openstack-neutron/src/main/java/org/jclouds/openstack/neutron/v2/domain/Rule.java#L370

Clearly this check is wrong.
Also: probably good idea to remove the validation checks completely, as this is something we are moving away from.



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