Cannot pass "service-type" argument to getAccounts()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-webapps-qml |
New
|
Undecided
|
Unassigned |
Bug Description
While improving lp:ubuntu-sdk-tutorials to use a specific service to authenticate, I bumped into this error when launching the html5-example-
=========
WebApps API message received: {"target"
Error while creating object: Ubuntu.
=========
When I modify the code to use "service" instead of "service-type", it works:
=========
WebApps API message received: {"target"
account-
account-service.cpp 100 setObjectHandle Accounts:
{"accountId"
=========
The data passed to the filters should be completely transparent for unity-webapps-qml, but it appears that it's actually doing something with it. I wonder, maybe it's trying to parse the expression and fails because of the "-" sign in "service-type"?