Project

General

Profile

Actions

Bug #35954

closed

Creating an organization through API does not propagate encountered errors properly

Added by Adam Ruzicka over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

What happens now:

# hammer organization create --name "Test Organization" --label "Test Organization" 
Could not create the organization:
  resource have no errors

What should be happening:

# hammer organization create --name "Test Organization" --label "Test Organization" 
Could not create the organization:
  Label is invalid
  Label cannot contain characters other than ascii alpha numerals, '_', '-'.

Actions

Also available in: Atom PDF