Enforce length checking for instance name field in update instance
Bug #1279590 reported by
Yuanhui Liu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
Yuanhui Liu |
Bug Description
There is an allowed maximum length for instance name, while current code doesn't check / restrict the instance name field when update an instance.
One question regarding this issue is what number should be used for the max_length: current code in create instance is using 80 as the max_length, while back end seems to be using 255, as shown in the error message below:
RESP BODY: {"badRequest": {"message": "Server name has more than 255 characters.", "code": 400}}
Would be really appreciate if somebody can help clarify this. Thanks.
Changed in horizon: | |
assignee: | nobody → Yuanhui Liu (liuyu) |
Changed in horizon: | |
status: | New → Confirmed |
Changed in horizon: | |
milestone: | none → icehouse-rc1 |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | icehouse-rc1 → 2014.1 |
To post a comment you must log in.
Thanks Zhengguo for your confirmation. Was wondering if you have seen my question in my bug description section and if you know the answer for that? Thank you!