Specified content type is dropped on single step create secret
Bug #1254169 reported by
John Vrbanac
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Barbican |
Fix Released
|
Medium
|
Arvind Tiwari |
Bug Description
Description: On single step creation of a secret, if you include a payload content type without a payload it creates the secret and just throws away the content type data. I would expect that this would throw an error as the content type has to have the payload to work.
Environment: Dev | Local
Test Specification: functional.
Steps to reproduce:
1. Create a secret
POST http://{{host}
{
"payload_
}
Expected:
400 Bad Request
Actual Response:
201 Created
{
"secret_ref": "http://
}
Changed in barbican: | |
importance: | Undecided → Medium |
Changed in barbican: | |
milestone: | none → icehouse-1 |
Changed in barbican: | |
milestone: | icehouse-1 → icehouse-2 |
Changed in barbican: | |
milestone: | icehouse-2 → icehouse-3 |
Changed in barbican: | |
assignee: | nobody → Arvind Tiwari (arvind-tiwari) |
Changed in barbican: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/72190
Review: https:/