touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #90928
[Bug 1476004] [NEW] UserCanceled error thrown when trying to access an unexisting providerId with the QML Setup element
Public bug reported:
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.
** Affects: accounts-qml-module
Importance: Undecided
Status: New
** Affects: ubuntu-system-settings-online-accounts
Importance: Undecided
Status: New
** Affects: ubuntu-system-settings-online-accounts (Ubuntu)
Importance: Undecided
Status: New
** Also affects: ubuntu-system-settings-online-accounts (Ubuntu)
Importance: Undecided
Status: New
** Also affects: accounts-qml-module
Importance: Undecided
Status: New
--
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:
New
Status in Online Accounts setup for Ubuntu Touch:
New
Status in ubuntu-system-settings-online-accounts package in Ubuntu:
New
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
Follow ups