yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #76924
[Bug 1815478] [NEW] Error message 'Invalid protocol %(protocol)s for port range, only ...' is difficult to understand
Public bug reported:
Error message 'Invalid protocol %(protocol)s for port range, only ...' is difficult to understand.
~~~
43 class SecurityGroupInvalidProtocolForPortRange(exceptions.InvalidInput):
44 message = _("Invalid protocol %(protocol)s for port range, only "
45 "supported for TCP, UDP, UDPLITE, SCTP and DCCP.")
~~~
Thinking about it logically, the port range is invalid for the protocol,
not the other way around.
The error message would be better as:
~~~
Invalid port range specified for protocol %(protocol)s. Do not specify a port range. Port ranges are only supported for TCP, UDP, UDPLITE, SCTP and DCCP.
~~~
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1815478
Title:
Error message 'Invalid protocol %(protocol)s for port range, only ...'
is difficult to understand
Status in neutron:
New
Bug description:
Error message 'Invalid protocol %(protocol)s for port range, only ...' is difficult to understand.
~~~
43 class SecurityGroupInvalidProtocolForPortRange(exceptions.InvalidInput):
44 message = _("Invalid protocol %(protocol)s for port range, only "
45 "supported for TCP, UDP, UDPLITE, SCTP and DCCP.")
~~~
Thinking about it logically, the port range is invalid for the
protocol, not the other way around.
The error message would be better as:
~~~
Invalid port range specified for protocol %(protocol)s. Do not specify a port range. Port ranges are only supported for TCP, UDP, UDPLITE, SCTP and DCCP.
~~~
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1815478/+subscriptions
Follow ups