I'm moving this bug to CPI, because it returns a 401 when we perform the
HEAD request to fetch the X-Click-Token for downloading the package.
This is because an older version of the package in question was side-
loaded onto the phone, but the app was not purchased for the account
being used. Instead of a 401 (since the URL was signed with a valid
token), it would be better if the server returned a 404 perhaps, so that
the update would just be skipped. This would prevent the client from
thinking the credentials are invalid (because 401 or 403 implies the
authorization is not valid), and avoid causing the token to be deleted
on the phone.
** Package changed: ubuntuone-credentials (Ubuntu) => ubuntu
** Changed in: ubuntu
Importance: Medium => High
** Changed in: ubuntu
Status: In Progress => Confirmed
** Changed in: ubuntu
Assignee: Rodney Dawes (dobey) => (unassigned)
** Package changed: ubuntu => click-package-index
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntuone-credentials in
Ubuntu.
https://bugs.launchpad.net/bugs/1516917
Title:
Update of unpurchased and sideloaded apps causes U1 account
invalidation
Status in Canonical System Image:
In Progress
Status in Click Package Index:
Confirmed
Bug description:
current build number: 170
device name: arale
channel: ubuntu-touch/rc-proposed/meizu.en
I had Cut The Rope Full installed for testing directly from the click
package and which cannot be upgraded. If I apply all the updates
available, including CTR, the Ubuntu One account is removed.
Expected Results:
CTR is not upgraded, but the account is preserved.
There is following message in system-settings log file:
2015-11-17 07:44:19,313 - WARNING - START: com.zeptolab.cuttherope.full
2015-11-17 07:44:19,322 - WARNING - void
UpdatePlugin::Network::getClickToken(UpdatePlugin::Update*, const QString&)
2015-11-17 07:44:19,916 - WARNING - HTTP Status: 401
2015-11-17 07:44:19,916 - WARNING - Emitting credetials error.
2015-11-17 07:44:19,997 - WARNING - Reply is not valid.
2015-11-17 07:45:20,038 - WARNING - QObject::startTimer: Timers cannot be
started from another thread
2015-11-17 07:51:10,021 - WARNING - UbuntuClipboard - Got invalid serialized
mime data. Ignoring it.
2015-11-17 07:51:11,143 - WARNING - PAUSE: com.zeptolab.cuttherope.full
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1516917/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp