Invalid plan name returns 500

Bug #1400896 reported by Melissa Kam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Solum
Invalid
Undecided
Swati Dewan

Bug Description

Creating a plan with an invalid character (such as a space) in the name returns a generic 500 error.

# invalid.yaml
version: 1
name: invalid name
description: App description.

solum app create invalid.yaml

Response:

Internal Server Error (HTTP 500)

James Li (james-li-3)
Changed in solum:
status: New → Confirmed
tags: added: low-hanging-fruit
Revision history for this message
Devdatta Kulkarni (devdatta-kulkarni) wrote :

Check if this is true for the new 'app' file.

tags: added: solum-api
Changed in solum:
assignee: nobody → Swati Dewan (swatidewan9)
Revision history for this message
Devdatta Kulkarni (devdatta-kulkarni) wrote :

Marking this as invalid since we are no longer supporting 'plan file'.

Created a bug in the client (below), to perform this validation check for the 'app file'.

https://bugs.launchpad.net/python-solumclient/+bug/1514941

Changed in solum:
status: Confirmed → Invalid
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.