FileStorage(s) should do the Right Thing with unicode
Bug #832041 reported by
William Reade
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Undecided
|
William Reade |
Bug Description
We get paths passed with type(unicode), and I don't think we can guarantee that nobody will ever want to use actual unicode, so we should handle unicode data correctly both in EC2 and Orchestra providers.
Related branches
lp://qastaging/~fwereade/pyjuju/webdav-unicode-paths
- Gustavo Niemeyer: Approve
- Kapil Thangavelu (community): Approve
-
Diff: 181 lines (+55/-18)4 files modifiedensemble/providers/ec2/files.py (+2/-1)
ensemble/providers/ec2/tests/test_files.py (+26/-4)
ensemble/providers/orchestra/files.py (+12/-6)
ensemble/providers/orchestra/tests/test_files.py (+15/-7)
Changed in ensemble: | |
assignee: | nobody → William Reade (fwereade) |
milestone: | none → eureka |
status: | New → In Progress |
summary: |
- orchestra FileStorage can't handle unicode paths + FileStorage(s) should do the Right Thing with unicode |
description: | updated |
Changed in ensemble: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Excerpts from William Reade's message of Tue Aug 23 14:21:42 UTC 2011:
> Public bug reported:
>
> I don't believe we want to handle actual unicode data, but we still get
> paths passed with type(unicode), so we need to fix this.
>
> ** Affects: ensemble
> Importance: Undecided
> Assignee: William Reade (fwereade)
> Status: In Progress
>
> ** Changed in: ensemble
> Assignee: (unassigned) => William Reade (fwereade)
>
> ** Changed in: ensemble
> Milestone: None => eureka
>
> ** Branch linked: lp:~fwereade/ensemble/webdav-unicode-paths
>
> ** Changed in: ensemble
> Status: New => In Progress
>
fwiw, the unicode gets introduced as an effect of the yaml deserialization.