special character swift container names cause errors

Bug #1346602 reported by Cindy Lu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Nikunj Aggarwal

Bug Description

In Containers panel, create a new container with the name "façade"

After pressing Save, it will show a success and error message. Please see attached image (A).

The error message says 'Unable to retrieve object list" but the list seems to show up properly.

Then when you click on 'View Details' the screen just flickers.

Console shows:
ClientException: Container HEAD failed: http://<url>:8080/v1/AUTH_2d63c14b7e4d44cb89ca10fccc0abf5b/fa%25C3%25A7ade 404 Not Found
Recoverable error: Container HEAD failed: http://<url>:8080/v1/AUTH_2d63c14b7e4d44cb89ca10fccc0abf5b/fa%25C3%25A7ade 404 Not Found

And when you click on the container name, it will show many errors. Please see image (B).

Related to: https://bugs.launchpad.net/horizon/+bug/1336603

Tags: swift
Revision history for this message
Cindy Lu (clu-m) wrote :
Revision history for this message
Gary W. Smith (gary-w-smith) wrote :

For those lacking non-English characters on their keyboard, this can also be reproduced by using a name like "one:two".

Changed in horizon:
status: New → Triaged
importance: Undecided → Medium
tags: added: swift
Changed in horizon:
assignee: nobody → Nikunj Aggarwal (nikunj2512)
Revision history for this message
Nikunj Aggarwal (nikunj2512) wrote :

Noe able to reproduce this bug anymore

Revision history for this message
Romain Hardouin (romain-hardouin) wrote :

There is a workaround in Horizon to handle correctly special chars in containers' name when using a version of Django < 1.6.
A changeset that checks which version of Django is used has been merged on January 22: https://review.openstack.org/#/c/142007/1

In short: it's fixed.

Changed in horizon:
status: Triaged → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
milestone: none → kilo-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: kilo-3 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.