Modify

Opened 7 weeks ago

Closed 10 days ago

Last modified 10 days ago

#13025 closed defect (fixed)

[patch] fix "TypeError: sequence item 0: expected string, Fragment found" for trac 1.2

Reported by: anonymous Owned by: komar
Priority: normal Component: WorkflowActionButtonsPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

after updating trac to 1.2 I have error

TypeError: sequence item 0: expected string, Fragment found

there is a patch

--- a/api.py 2017-01-04 15:41:21.524379147 +0100
+++ b/api.py      2017-01-04 15:41:27.000000000 +0100
@@ -33,7 +33,7 @@
             if first_label is None:
                 first_label = label
             widgets.append(widget)
-            hints.append(hint)
+            hints.append(str(hint))
         return first_label, tag(*widgets), (hints and '. '.join(hints) or '')
 
     _default_icons = {

Attachments (0)

Change History (4)

comment:1 Changed 7 weeks ago by komar

forget to login :/ reply to me

comment:2 Changed 10 days ago by Ryan J Ollos

Owner: changed from ejucovy to Ryan J Ollos
Status: newaccepted

comment:3 Changed 10 days ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

Fixed in 3bad0948.

comment:4 Changed 10 days ago by Ryan J Ollos

Owner: changed from Ryan J Ollos to komar

Modify Ticket

Action
as closed The owner will remain komar.
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.