"Transfers" view broken for MMS downloads
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-download-manager |
Fix Released
|
Medium
|
Manuel de la Peña | ||
indicator-transfer (Ubuntu) |
Fix Released
|
High
|
Charles Kerr | ||
nuntium (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Test steps (on mako hw, image 157)
- Check that MMS data settings are correct
- Register in a cellular network (easier to test if it's a slow 2G connection)
- Open the Transfers indicator view
- Receive an MMS
Actual results:
1. A line "Unknown Download" is seen
2. I have seen weird download percentages, like in email-related bug 1348162
3. If you pause and resume the download, the MMS is not received at all. I have seen a nuntium panic ("panic: runtime error: slice bounds out of range") once, and a nuntium parse error ("Unable to decode m-retrieve.conf: cannot decode media type for field beginning with 0x73@287457 with log Setting TransactionId to AOhIxA_U9F1E_ujkE") another time.
Expected results:
1. A less confusing description (or hiding MMS downloads altogether)
2. Correct percentages (or hiding MMS downloads altogether)
3. MMS is received, or the pause/resume functionality should be disabled (or hiding MMS downloads altogether)
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Ted Gould (community): Approve
-
Diff: 1352 lines (+669/-417)8 files modifiedCMakeLists.txt (+8/-5)
debian/control (+3/-0)
include/transfer/transfer.h (+2/-1)
include/transfer/world-dbus.h (+2/-13)
src/view-console.cpp (+1/-1)
src/view-gmenu.cpp (+20/-7)
src/world-dbus.cpp (+616/-373)
tests/manual (+17/-17)
- PS Jenkins bot: Approve (continuous-integration)
- Ricardo Mendoza (community): Approve
-
Diff: 816 lines (+410/-29)19 files modifiedCMakeLists.txt (+1/-1)
debian/changelog (+7/-0)
debian/libudm-common0.symbols (+12/-0)
docs/dbus/com.canonical.applications.download.xml (+10/-4)
src/common/public/ubuntu/transfers/metadata.cpp (+54/-3)
src/common/public/ubuntu/transfers/metadata.h (+15/-0)
src/downloads/priv/ubuntu/downloads/download.cpp (+19/-0)
src/downloads/priv/ubuntu/downloads/download.h (+9/-1)
src/downloads/priv/ubuntu/downloads/download_adaptor.cpp (+19/-1)
src/downloads/priv/ubuntu/downloads/download_adaptor.h (+16/-4)
src/downloads/priv/ubuntu/downloads/file_download.cpp (+11/-8)
src/downloads/priv/ubuntu/downloads/mms_file_download.cpp (+2/-0)
tests/downloads/client/test_client_manager.cpp (+1/-1)
tests/downloads/daemon/test_download.cpp (+29/-0)
tests/downloads/daemon/test_download.h (+2/-0)
tests/downloads/daemon/test_metadata.cpp (+159/-6)
tests/downloads/daemon/test_metadata.h (+18/-0)
tests/downloads/daemon/test_mms_download.cpp (+25/-0)
tests/downloads/daemon/test_mms_download.h (+1/-0)
description: | updated |
description: | updated |
Changed in indicator-transfer (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
tags: | added: rtm14 |
Changed in indicator-transfer (Ubuntu): | |
assignee: | nobody → Ted Gould (ted) |
Changed in indicator-transfer (Ubuntu): | |
assignee: | Ted Gould (ted) → Charles Kerr (charlesk) |
status: | Confirmed → In Progress |
Changed in indicator-transfer (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in ubuntu-download-manager: | |
status: | New → In Progress |
importance: | Undecided → Medium |
no longer affects: | golang-udm (Ubuntu) |
Changed in ubuntu-download-manager: | |
status: | In Progress → Fix Released |
Re-tested on mako image 171, some more observations: paste.ubuntu. com/7905663/ , but it really was a one-time occurence only).
- No panic observed anymore (the backtrace of the one I mentioned last week is here http://
- But pausing/resuming the MMS download in "Transfers" makes the MMS reception fail every time. The download is shown as successful but the MMS is not shown.
The attached files (nuntium log + store) contain three MMS receptions (all in Sonera, Finland network):
1. Uninterrupted, successful
2. Paused/resumed, not received, no error in nuntium log
3. Paused/resumed, not received, "cannot decode media type" error in nuntium log