[Bug 1058072] Re: Cancelling PolicyKit authorization produces silly error message

Edward Donovan launchpad at numble.net
Fri Sep 28 23:20:18 UTC 2012


Hi Matthew -

I created that dialog, amidst fixing bug 828850 .  The previous
situation was: when you canceled authorization, you got an apport crash.
It was several months ago, so I don't remember exactly why I thought a
message might be needed.  But I figured whether to have a dialog, at
all, would be reviewed with the patch.  I guess that's just happening
now, in a way.

If I can get some time, I'll make a patch to remove the dialog.  The
original patch that included it is attached there at bug 828850.  One
would remove the five lines that define the dialog.  Then in each of the
many places that the patch wraps in try-except, replace the dialog with,
well, whatever is a pythonic no-op in that if statement.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/1058072

Title:
  Cancelling PolicyKit authorization produces silly error message

Status in “software-properties” package in Ubuntu:
  New

Bug description:
  software-properties-gtk 0.92.6, Ubuntu Q

  1. Open Software Sources.
  2. Change anything, e.g. check/uncheck any of the checkboxes in the "Ubuntu Software" tab.
  3. In the authorization prompt, choose "Cancel".

  What happens: An error alert appears, "Authorization failed." -
  "Software sources can't be changed without permission."

  What should happen: No error alert appears. You already know that you
  cancelled the authorization.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1058072/+subscriptions




More information about the foundations-bugs mailing list