UDM causes app to crash if passed a empty download url
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Bill Filler | ||
ubuntu-download-manager |
Fix Released
|
Undecided
|
Michael Sheldon |
Bug Description
Here is a sample app, that if you run and press "Tap me" will cause the app to crash. It is understandable that UDM doesn't accept empty urls, but I would expect it to gracefully output a error message rather than cause the whole app to crash.
import QtQuick 2.4
import Ubuntu.Components 1.3
import Ubuntu.
MainView {
id: mainView
objectName: "mainView"
application
width: units.gu(100)
height: units.gu(75)
Page {
title: i18n.tr(
Column {
id: mainColumn
anchors {
}
Label {
id: label
}
Button {
}
}
id: downloadComponent
}
}
}
}
id: downloadManager
}
}
}
}
}
Related branches
- PS Jenkins bot: Approve (continuous-integration)
- Ubuntu Phablet Team: Pending requested
-
Diff: 46 lines (+13/-5)2 files modifiedsrc/downloads/qml/single_download.cpp (+4/-1)
src/downloads/qml/ubuntu_download_manager.cpp (+9/-4)
Changed in canonical-devices-system-image: | |
status: | New → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → Bill Filler (bfiller) |
milestone: | none → ww08-2016 |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-download-manager: | |
status: | New → Fix Released |
assignee: | nobody → Michael Sheldon (michael-sheldon) |