Bad task traversal or link
Bug #1894 reported by
Stuart Bishop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Invalid
|
Medium
|
Unassigned |
Bug Description
I'm getting errors in the PostgreSQL logs where code is sending strings through where integers are expected.
Two URLs that are generating (different) instances of this are:
http://
http://
I suspect this might be from some dud links - GoogleBot appears to be triggering them.
Changed in launchpad: | |
status: | New → Rejected |
tags: | added: iso-testing |
tags: | removed: iso-testing |
tags: | added: iso-testing |
tags: | removed: iso-testing |
To post a comment you must log in.
Traceback (innermost last):
* Module zope.publisher. publish, line 135, in publish traverse( object) browser, line 494, in traverse quest, self).traverse( object) http, line 382, in traverse object) base, line 270, in traverse traverseName( publication. publicationtrav erse, line 56, in traverseName publishTraverse (request, nm) launchpad. webapp. metazcml, line 393, in publishTraverse self.context, self._getter)(name) launchpad. database. bugset, line 18, in __getitem__ selectOne( self.table. q.id == id) n=connection) ) (self) dbconnection, line 635, in iterSelect True))) dbconnection, line 567, in __init__ dbconn. _executeRetry( self.rawconn, self.cursor, self.query) dbconnection, line 204, in _executeRetry execute( query) execute( operation)
object = request.
* Module zope.publisher.
ob = super(BrowserRe
* Module zope.publisher.
ob = super(HTTPRequest, self).traverse(
* Module zope.publisher.
subobject = publication.
* Module zope.app.
ob2 = adapter.
* Module canonical.
traversed_to = getattr(
* Module canonical.
item = self.table.
* Module sqlobject.main, line 1038, in selectOne
connectio
* Module sqlobject.main, line 1495, in __iter__
return conn.iterSelect
* Module sqlobject.
select, keepConnection=
* Module sqlobject.
self.
* Module sqlobject.
return cursor.
* Module zope.app.rdb, line 283, in execute
return self.cursor.
ProgrammingError: ERROR: invalid input syntax for integer: "+distrotask" SELECT BugWatch.id, BugWatch.remotebug, BugWatch. datecreated, BugWatch. lastchanged, BugWatch. lastchecked, BugWatch.bug, BugWatch.owner, BugWatch. remotestatus, BugWatch.bugtracker FROM BugWatch WHERE (BugWatch.id = '+distrotask')