← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1472054] Re: creating a trust specified "allow_redelegation =true and remaining_uses=2" doesn't show error message

 

** Changed in: keystone
       Status: Fix Committed => Fix Released

** Changed in: keystone
    Milestone: None => liberty-2

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1472054

Title:
  creating a trust specified "allow_redelegation =true and
  remaining_uses=2" doesn't show error message

Status in Keystone:
  Fix Released

Bug description:
   in the function of create_trust (Corresponding file is:/keystone/trust/core.py),it should show the message as follows "remaining_uses must not be set if redelegation is allowed".but missing "raise" statement  in the following code:
   if 'remaining_uses' in trust:
                  exception.ValidationError(_('remaining_uses must not be set '
                                              'if redelegation is allowed'))

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1472054/+subscriptions


References