Enable/disable switches don't really alter the account's ACL

Bug #1377062 reported by Alberto Mardegan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Online Accounts setup for Ubuntu Touch
Fix Released
High
Alberto Mardegan

Bug Description

Since the Online Accounts UI was moved into the same process of the ubuntu-system-settings, updating the ACL of an account has been broken.
The reason is that the ApplicationManager C++ class is not exposed to QML anymore, as can be seen from the logs of ubuntu-system-settings:

    2014-10-03 10:33:41,987 - WARNING - file:///usr/lib/arm-linux-gnueabihf/ubuntu-system-settings/private/Ubuntu/OnlineAccounts/Plugin/ServiceSwitches.qml:57: ReferenceError: ApplicationManager is not defined
    2014-10-03 10:33:48,471 - WARNING - file:///usr/lib/arm-linux-gnueabihf/ubuntu-system-settings/private/Ubuntu/OnlineAccounts/Plugin/ServiceSwitches.qml:66: ReferenceError: ApplicationManager is not defined

Related branches

Alberto Mardegan (mardy)
Changed in ubuntu-system-settings-online-accounts:
assignee: nobody → Alberto Mardegan (mardy)
importance: Undecided → High
status: New → Confirmed
David Barth (dbarth)
tags: added: ota-1 rtm14 touch-2014-10-09
Revision history for this message
Alberto Mardegan (mardy) wrote :

A clarification on the impact of this bug: if an application is granted access to an account via the in-app flow (that is, if the user doesn't manually go to the system settings to enable the app), then everything works fine as expected.

The bug is affecting the usability of the applications only if the user enables an application from the system settings, and the application has never been enabled before (by "enabled" here I mean "granted access to a specific account").

If you are hit by this bug, then you need to go visit the account in the System Settings, disable the affected application from there, then restart the application. If the application has the right code to talk to OA (unfortunately, at the moment the facebook and twitter webapp don't), then the user will be prompted to authorize the application, and things should work.

Alberto Mardegan (mardy)
Changed in ubuntu-system-settings-online-accounts:
status: Confirmed → In Progress
David Barth (dbarth)
Changed in ubuntu-system-settings-online-accounts:
status: In Progress → Fix Committed
David Barth (dbarth)
Changed in ubuntu-system-settings-online-accounts:
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.