Modify

Opened 2 weeks ago

Last modified 2 weeks ago

#13025 new defect

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

Reported by: anonymous Owned by: ejucovy
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 (1)

comment:1 Changed 2 weeks ago by komar

forget to login :/ reply to me

Add Comment

Modify Ticket

Action
as new The owner will remain ejucovy.
Author


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

 
Note: See TracTickets for help on using tickets.