Roundup Tracker - Issues

Issue 2550575

classification
message with certain long string blows up the web interface
Type: crash Severity: normal
Components: Web interface Versions: 1.4
process
Status: closed works for me
:
: : kowey, rouilj
Priority: :

Created on 2009-08-15 23:13 by kowey, last changed 2016-07-03 01:10 by rouilj.

Messages
msg3851 Author: [hidden] (kowey) Date: 2009-08-15 23:13
The error we get looks like

<class 'psycopg.ProgrammingError'>: ERROR: value "20030921115726" is out
of range for type integer select count(*) from _file where
id='20030921115726' 

This happens when I view a message (or an issue containing a message)
with a certain string in it.  I can reliably make the web interface
explode by pasting that string into a new message (which I will attempt
next here)
msg3898 Author: [hidden] (kowey) Date: 2009-10-28 16:26
I think the key detail here is that the message says something like
"I've got the file 20030921115726..." (very long string for the file
name), so I imagine it's got something to do with trying to make a link
to the object 'file2003etc' which doesn't exist.
msg5721 Author: [hidden] (rouilj) Date: 2016-07-03 01:10
I tried to reproduce this failure with a postgres backend but can't.

I think this was fixed as part of issue2550549 Postgres error on message
templating

This limits what nodeid's are able to be looked up in the back end.

A similar patch is applied to the backend code for this roundup
instance as well, so I suspect it's fixed here as well.

Closing.
History
Date User Action Args
2016-07-03 01:10:09rouiljsetstatus: new -> closed
resolution: works for me
messages: + msg5721
nosy: + rouilj
2009-10-28 16:26:29koweysetmessages: + msg3898
2009-08-15 23:13:18koweycreate