auto_download setting not set to '1' by default

Bug #1229807 reported by Javier Collado
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu system image
Fix Released
Critical
Barry Warsaw

Bug Description

According to the client DBus API documentation here:
https://wiki.ubuntu.com/ImageBasedUpgrades/Client#DBus_API

The auto_download setting should be set to 1 (Only auto-download if the device
is connected via wifi) by default. However, when the following code is run:

    auto_download = iface.GetSetting('auto_download')
    logging.info('GetSetting(auto_download) = {}'.format(auto_download))

what I get is:

INFO: GetSetting(auto_download) = 0

Either the code or the documentation should be updated to match.

Revision history for this message
Javier Collado (javier.collado) wrote :

I've just seen this is a side effect of the problems to integrate the download service as noted here:
https://bugs.launchpad.net/ubuntu-system-image/+bug/1196991/comments/3

I'm keeping this bug open and will close when the default is reverted to its original value.

summary: - auto_download setting not set to 1
+ auto_download setting not set to '1' by default
description: updated
Changed in ubuntu-system-image:
status: New → Confirmed
tags: added: balloons-20130923
Revision history for this message
Barry Warsaw (barry) wrote :

Yep, we had it set to '0' until we switched to the the ubuntu-download-manager. I forgot to update it to the correct default when that branch landed.

Changed in ubuntu-system-image:
importance: Undecided → Critical
assignee: nobody → Barry Warsaw (barry)
milestone: none → 1.8
status: Confirmed → In Progress
Barry Warsaw (barry)
Changed in ubuntu-system-image:
status: In Progress → Fix Committed
Barry Warsaw (barry)
Changed in ubuntu-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.