Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.9.0
-
None
Description
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.