Merge lp:~michael-sheldon/content-hub/fix-initial-peer-list into lp:content-hub
| Status: | Merged |
|---|---|
| Approved by: | Ken VanDine on 2015-09-09 |
| Approved revision: | 243 |
| Merged at revision: | 244 |
| Proposed branch: | lp:~michael-sheldon/content-hub/fix-initial-peer-list |
| Merge into: | lp:content-hub |
| Diff against target: |
33 lines (+3/-2) 2 files modified
import/Ubuntu/Content/contentpeermodel.cpp (+2/-2) import/Ubuntu/Content/contenttype.h (+1/-0) |
| To merge this branch: | bzr merge lp:~michael-sheldon/content-hub/fix-initial-peer-list |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Ken VanDine | 2015-09-02 | Approve on 2015-09-09 | |
| PS Jenkins bot | continuous-integration | Approve on 2015-09-02 | |
|
Review via email:
|
|||
Commit Message
Add an "Undefined" content type to QML bindings so we can avoid making unnecessary peer look ups when the content type hasn't yet been set now that peers can register for Unknown.
Description of the Change
Add an "Undefined" content type to QML bindings so we can avoid making unnecessary peer look ups when the content type hasn't yet been set now that peers can register for Unknown.
| Michael Sheldon (michael-sheldon) wrote : | # |
| Michael Sheldon (michael-sheldon) wrote : | # |
This can be tested using the browser branch from silo 17, steps to reproduce:
1) Uninstall files-app or anything else that registers as an All/Unknown destination (if installed)
2) Download a zip file in the browser
3) Open the Downloads page
4) Click on the zip file
Without this branch the browser will appear in the content peer picker the first time
With this branch the content the "Sorry, no applications" message will be displayed correctly.
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:243
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Ken VanDine (ken-vandine) wrote : | # |
I ran through the test plan, and it works well with one exception. With the browser from silo 17, the browser shows up as a source for picking when trying to attach in gmail. Choosing the browser in the peer picker, opens another peer picker. I think it triggering an onExportRequested in the browser. Nothing needs to be fixed in content-hub though, I think it's just a bug in the branch of the browser in silo 17.
| Ken VanDine (ken-vandine) wrote : | # |
Did you perform an exploratory manual test run of the code change and any related functionality on device or emulator?
* Yes
Did CI run pass? If not, please explain why.
* Yes
Have you checked that submitter has accurately filled out the submitter checklist and has taken no shortcut?
* Yes

Are there any related MPs required for this MP to build/function as expected? Please list.
* No
Is your branch in sync with latest trunk (e.g. bzr pull lp:trunk -> no changes)
* Yes
Did you perform an exploratory manual test run of your code change and any related functionality on device or emulator?
* Yes
Did you successfully run all tests found in your component's Test Plan (https:/ /wiki.ubuntu. com/Process/ Merges/ TestPlan/ content- hub) on device or emulator?
* Yes
If you changed the UI, was the change specified/approved by design?
* No
If you changed UI labels, did you update the pot file?
* No
If you changed the packaging (debian), did you add a core-dev as a reviewer to this MP?
* No