order create with secret.bit_length=None returns 201 (expected 400)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Barbican |
Fix Released
|
Medium
|
Paul Glass |
Bug Description
Running Cafe test test_negative_
Prior to https:/
After that fix the test gets back an http 201 which causes the test to fail.
The validation for secrets schema validation passes, then the check for the value of the bit_length uses the default (0) which passes the updated tests (looking for mod 8). Previous test also looked for < 0.
One suggestion for a fix is to check for the bit_length == 0 after we get it out of the secret.
See https:/
Changed in barbican: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in barbican: | |
milestone: | none → juno-2 |
assignee: | nobody → Paul Glass (pnglass) |
Changed in barbican: | |
status: | Fix Committed → Fix Released |
Changed in barbican: | |
milestone: | juno-2 → 2014.2 |
Related fix proposed to branch: master /review. openstack. org/105273
Review: https:/