Exception raised has double full stop

Bug #1618881 reported by Gary Kotton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Gary Kotton

Bug Description

An example:

Invalid input for operation: Exceeded maximum amount of fixed ips per port..

Reason - neutron lib exception has a full stop:

class InvalidInput(BadRequest):
    """A bad request due to invalid input.
    A specialization of the BadRequest error indicating bad input was
    specified.
    :param error_message: Details on the operation that failed due to bad
    input.
    """
    message = _("Invalid input for operation: %(error_message)s.")

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/363641

Changed in neutron:
assignee: nobody → Gary Kotton (garyk)
status: New → In Progress
Changed in neutron:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/363641
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=29273adaf9c31fa22e4580c5af6eb9469290d38c
Submitter: Jenkins
Branch: master

commit 29273adaf9c31fa22e4580c5af6eb9469290d38c
Author: Gary Kotton <email address hidden>
Date: Wed Aug 31 06:06:43 2016 -0700

    Fix InvalidInput exception output

    Ensure that only one period ends the data. The exception adds the
    period so no need to pass the error_message with a period.

    TrivialFix

    Change-Id: I411534fc7ea56946a72890808154cc43ba3b6c1d
    Closes-bug: #1618881

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 10.0.0.0b2

This issue was fixed in the openstack/neutron 10.0.0.0b2 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.