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
Sections:Core code
Type:bug report
Urgency:high
URL:http://g.msn.com/mh_mshp/98765?http...e&CM=Features&CE=FeatureGraphicOneW
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
 
Changed status from Open to Completed   -   <Peter Bengtsson> permanent link

Fixed in CVS

14-Apr 2005
 
Name:
Email:
Spambot prevention:number?number?number?number? enter these numbers
File attachment:
File attachment:
Hide again hide file attachments
(<Peter Bengtsson>)
Tell a Friend [with more options]

Subscription to changes

 
 

Recent issues