after agg scope > Online Accounts login > agg scope, still no results

Bug #1382238 reported by Kyle Nitzsche
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
The Savilerow project
Confirmed
Undecided
Kyle Nitzsche
unity-scopes-api (Ubuntu RTM)
Invalid
Undecided
Unassigned

Bug Description

Photos agg scope has a child scope: Facebook Photos.

When the user has not yet logged into Facebook through Online Accounts, the scope pops up a login button with the unity::scopes::OnlineAccountClient.register_account_login_item(...) method.

Works fine when the Facebook Photos scope is run directly. (user logs in, is returned to FB photos scope, their photos display)

But when the scope is run as a child scope of Photos agg, here is what happens:

1) You are not logged into fb in online accounts
2) You launch Photos
3) You use the facebook photos category's Login button to log in to fb (it is actually invisible now due to bug 1382139, but it is there and you can tap it)
4) You use provided login screen to enter your FB credentials
5) You are returned to the Photos agg scope

Expectation: You see facebook photos

Reality: no photos. I had to log in FROM Facebook Photos scope to get fb photos to work in Photos agg scope.

Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

Hey Kyle, so what needs to happen is an aggregator scope needs to provide a .application file in order to inform the OA backend that it requires the ability to request online authorisation on behalf of its child scope.

Attached is a patch for the Photos scope that'll will fix this issue

Changed in savilerow:
status: New → In Progress
assignee: nobody → Marcus Tomlinson (marcustomlinson)
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

I will look into fixing bug 1382139 next

Changed in unity-scopes-api (Ubuntu RTM):
status: New → Invalid
Changed in savilerow:
status: In Progress → Confirmed
assignee: Marcus Tomlinson (marcustomlinson) → nobody
assignee: nobody → Kyle Nitzsche (knitzsche)
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

I have tried the approach Marcus described locally and it works (except that it exposed new bug 1384314).

I'll wait to push the fix to our scope until that bug and bug 1382139 are fixed.

Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

Please note: the .application file should now be removed from the photos scope (Bug #1415047)

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.