[issue2551078] Fix traceback caused when putting two id's into a Link html field.

John Rouillard <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.devel
Message-ID <[email protected]>
New submission from John Rouillard:

In the roundup tracker, superseder is a Link type (not multilink as in
classic tracker). If you put in two link id's (1169513,2550964) you get
a traceback:

File ".../roundup/cgi/templating.py", line 886, in __getitem__
if int(self._nodeid) > 0:
ValueError: invalid literal for int() with base 10: '1169513,2550964'

This should be put inside a try/catch block to give a better message
to the user.

Maybe a message like: Property superseder is a Link and only supports 
one value."

----------
components: Web interface
messages: 6863
nosy: rouilj
priority: normal
severity: normal
status: new
title: Fix traceback caused when putting two id's into a Link html field.
type: crash

_________________________________________________
Roundup tracker <[email protected]>
<https://issues.roundup-tracker.org/issue2551078>
_________________________________________________
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.