[Tracker-discuss] [issue153] trigger traceback when doing issue search on non-existent username

Paul Dubois metatracker at psf.upfronthosting.co.za
Sat Mar 8 21:58:45 CET 2008


Paul Dubois added the comment:

One idea is, add an artificial 'user' with no privleges named 'Unknown
User', and instead of deleting the value from the filterspec, change it to
this name. I don't know what would happen but it would be
interesting....(:->

On Sat, Mar 8, 2008 at 12:13 PM, Philipp Gortan <
metatracker at psf.upfronthosting.co.za> wrote:

>
> Philipp Gortan added the comment:
>
> The fundamental problem we're facing here is that the module that's
> observing
> the error, the `lookupIds` function in cgi.templating, does not have any
> possibility to report the error to the user. It cannot raise an exception
> that
> results in the user being returned to the search with the `error_message`
> containing an appropriate message, like "User 'foo' doesn't exist", which
> would
> be the right thing, I guess.
> So I handle the wrong user input the same way as it's handled for link
> properties, by dropping the unknown value from the filterspec.
> Can someone with checkin privileges please review and merge the patch?
> Thank you!
>
> ----------
> assignedto: mephinet ->
> status: chatting -> testing
>
> _______________________________________________________
> Meta Tracker <metatracker at psf.upfronthosting.co.za>
> <http://psf.upfronthosting.co.za/roundup/meta/issue153>
> _______________________________________________________
> _______________________________________________
> Tracker-discuss mailing list
> Tracker-discuss at python.org
> http://mail.python.org/mailman/listinfo/tracker-discuss
>
>

----------
nosy: +dubois

_______________________________________________________
Meta Tracker <metatracker at psf.upfronthosting.co.za>
<http://psf.upfronthosting.co.za/roundup/meta/issue153>
_______________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tracker-discuss/attachments/20080308/4f2538aa/attachment.htm 


More information about the Tracker-discuss mailing list