exhibits pkgname with \n\r
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Software Center Agent |
Fix Released
|
Low
|
Unassigned | ||
software-center (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The server sends out funny packagenames for the ubuntu books:
...
...
note the \r\n in there.
SRU TEST CASE:
1. Launch the current Ubuntu Software Center in Precise.
2. Wait for the "Definitive Guides to Ubuntu" banner to be shown (or use the banner navigation buttons to access it). Click on the banner to access the list of titles.
3. Note that there are a total of four (4) titles in the list.
4. Close Ubuntu Software Center.
5. Update to the version of software-center in precise-proposed.
6. Launch Ubuntu Software Center again and click on the "Definitive Guides to Ubuntu" banner again.
7. Verify that this time there are five (5) items in the list.
SRU REGRESSION POTENTIAL:
Risk of regression is extremely small. Fix simply removes white space from the package names field from the server.
Related branches
- Gary Lasker (community): Approve
- Natalia Bidart: Pending requested
-
Diff: 51 lines (+22/-1)2 files modifiedsoftwarecenter/backend/scagent.py (+3/-0)
test/test_scagent.py (+19/-1)
Changed in software-center-agent: | |
status: | New → In Progress |
importance: | Undecided → Low |
Changed in software-center (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in software-center (Ubuntu): | |
status: | In Progress → Fix Committed |
description: | updated |
Changed in software-center (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in software-center-agent: | |
status: | In Progress → Fix Released |
The attached branch fixes it in the client, but it would be preferable to do it on the server IMO.