Something wrong in validator when get invalid property
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Barbican |
Fix Released
|
Undecided
|
ting.wang |
Bug Description
cannot retrieve correct error message when schema.
I find it when i look through the code, and there's a TODO in source code ( barbican/
I find out the reason.
Problem happens here.
In barbican/
In normal, validation_
Changed in barbican: | |
assignee: | nobody → tingwang (bx-wang) |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
But I'm a little confused about how to fix it. common/ validators. py: get_invalid_ property( ) to handle the case that no type in create container request.
I come up with 2 solutions.
1. add ELSE expression in barbican/
2. close the bug and maintain the que because it effect only in test case.