Modify

Opened 16 years ago

Closed 15 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: Alec Thomas
Priority: normal Component: TagsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

  • macros.py

    old new  
    7777
    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 15 years ago by osimons

Resolution: worksforme
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Alec Thomas.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.