Completed
#0052 Adding issues with long urls
It appears there's a bug in showing the url of an issue. When trying with a long URL it returns the A HREF tag but only the attribute, not the content thus making it appear blank.
This issue for example has a URL but it's not display (unless you're looking at this after the fix)
Submitted by:
<Peter Bengtsson>
13-Apr 2005
3 years and 8 months and 4 weeks old
3 years and 8 months and 4 weeks old
Assigned to:
<Peter Bengtsson>
Added Issue followup
-
<Peter Bengtsson>
permanent link
Problem solved. There's a missing return in showBriefURL():
def showBriefURL(self, url, maxlength=70):
""" show begining and end of a URL """
if len(url) > maxlength:
half = int(maxlength/2)
url = url[0:half]+'...'+url[-half:]
else:
return url
13-Apr 2005