Opened 6 years ago

Closed 5 years ago

#3609 closed defect (worksforme)

(patch) fix a crash when id include a non-ascii character(eg. a fullblog short name)

Reported by: Wang Diancheng Owned by: athomas
Priority: normal Component: TagsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10



    old new  
    7878        ul = builder.ul(class_='taglist') 
    7979        for resource, tags in sorted(query_result, 
    80                                      key=lambda r: str(r[0].id)): 
     80                                     key=lambda r: unicode(r[0].id)): 
    8181            tags = sorted(tags) 
    8282            if tags: 
    8383                rendered_tags = [ 

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by osimons

  • Resolution set to worksforme
  • Status changed from new to closed

Seeing that FullBlogPlugin is 0.11 only, this seems like a strange version mix-up. I cannot find the use of str in your patch in the latest tags plugin trunk - it already uses unicode.

Use Trac 0.11.x, FullBlogPlugin and TagsPlugin from trunk and this should work fine.

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.