after agg scope > Online Accounts login > agg scope, still no results
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::
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.
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