create endpoint region name which is allow longer than 256

Bug #1090247 reported by Kanami Akama
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Medium
Tony NIU

Bug Description

Create endpoint region name which is allow longer than 256.
Create endpoint registered, but the region name is truncated to 255 characters.
This should be raise 400 Bad Request.

Tags: endpoint
Kanami Akama (k-akama)
description: updated
summary: - create endpoint region name which is longer than 256
+ create endpoint region name which is allow longer than 256
description: updated
Joseph Heck (heckj)
Changed in keystone:
status: New → Triaged
importance: Undecided → Medium
Tony NIU (niuwl586-v)
Changed in keystone:
assignee: nobody → Tony NIU (niuwl586-v)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/19288

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/19288
Committed: http://github.com/openstack/keystone/commit/9c2c4ece645119fd450783217c359b38584553c8
Submitter: Jenkins
Branch: master

commit 9c2c4ece645119fd450783217c359b38584553c8
Author: Tony NIU <email address hidden>
Date: Wed Jan 9 20:09:40 2013 +0800

    add database string field length check

    Added database string field length check, so when insert to a table, if the length of string field exceed the limit of column when, it will return a 400 error instead of truncating the string.

    Change-Id: I7216fe736ea6e5a23b5647b107fcb2699f1fa99d
    Fixes: bug #1090247

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
milestone: none → grizzly-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: grizzly-3 → 2013.1
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.