touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #90993
[Bug 1476004] Re: UserCanceled error thrown when trying to access an unexisting providerId with the QML Setup element
** Changed in: ubuntu-system-settings-online-accounts (Ubuntu)
Status: New => Triaged
** Changed in: ubuntu-system-settings-online-accounts
Status: New => Triaged
** Changed in: accounts-qml-module
Status: New => Invalid
** Changed in: ubuntu-system-settings-online-accounts
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-system-settings-
online-accounts in Ubuntu.
https://bugs.launchpad.net/bugs/1476004
Title:
UserCanceled error thrown when trying to access an unexisting
providerId with the QML Setup element
Status in accounts-qml-module:
Invalid
Status in Online Accounts setup for Ubuntu Touch:
Triaged
Status in ubuntu-system-settings-online-accounts package in Ubuntu:
Triaged
Bug description:
How to reproduce:
Add the following to your application:
Setup {
id: setup
applicationId: "YOUR APP ID HERE"
providerId: "asdf"
}
and call setup.exec().
When having debugging enabled as described in
https://developer.ubuntu.com/en/start/platform/guides/online-accounts-
developer-guide/, the following error can be found in the logs:
RequestAccess failed:
QDBusError("com.ubuntu.OnlineAccountsUi.UserCanceled", "Canceled")
I spent hours trying to find the reason for that error as it does not
at all hint you at what you actually have done wrong. I think there
should be a more specific error message here.
To manage notifications about this bug go to:
https://bugs.launchpad.net/accounts-qml-module/+bug/1476004/+subscriptions
References