Red Hat Bugzilla – Bug 72036
rhn-push provides misleading error message
Last modified: 2007-07-31 15:11:36 EDT
Description of Problem: rhn-push provides misleading error message when the
channel you are uploading does not exist (due to typo, etc...). It currently
gives a 'Permission Denied' error. Should be something a tad more descriptive.
Version-Release number of selected component (if applicable): see bug 63780
Hmm. When I pass an arbitrary channel I see:
You are not allowed to perform administrative tasks on the channel
Error Class Code: 4
Error Class Info: Permission denied.
An error has occurred while processing your request. If this problem
persists please submit a bug report to firstname.lastname@example.org.
If you choose to submit the bug report, please be sure to include
details of what you were trying to do when this error occurred and
details on how to reproduce this problem.
The channel may be there and you are not allowed to edit it, or it may not be
there at all; FWIW, I consider it the same case. Is that wrong?
The problem was encountered when a user made a typo on the channel name, and
received the 'Permission denied' error. I think it would be helpful to
differentiate between 'You aren't allowed to' and 'I can't find the channel you
asked for'. (If that's possible)
gdk suggested the differentiation would be dangerous.
Insufficient privileges or channel %s does not exist
Fixed in latest version, Closing.