Modify

Opened 4 years ago

Closed 4 years ago

#13854 closed defect (fixed)

Depgraph not build when ticket summary has double quotes in

Reported by: Alexey Owned by: Ryan J Ollos
Priority: normal Component: MasterTicketsPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.2

Description

If you have a ticket that includes double quotes in the title then depgraph with summary=1 not build with warning in trac.log. For example if summary

 Some ticket about "a string to fix"

generate warning:

2020-07-23 15:25:14,091 Trac[graphviz] WARNING: dot command 'D:\sapr\webserver\Graphviz2.38\bin\dot.exe -Tcmapx' failed with code 1: Error: <stdin>: syntax error in line 6 near 'string'


2020-07-23 15:25:14,341 Trac[graphviz] WARNING: dot command 'D:\sapr\webserver\Graphviz2.38\bin\dot.exe -Tpng' failed with code 1: Error: <stdin>: syntax error in line 6 near 'string'

for summary

 Some ticket about "a_string_to_fix"

generate warning:

2020-07-23 15:27:07,934 Trac[graphviz] WARNING: dot command 'D:\sapr\webserver\Graphviz2.38\bin\dot.exe -Tcmapx' failed with code 1: Error: <stdin>: syntax error in line 5 near '"'


2020-07-23 15:27:08,200 Trac[graphviz] WARNING: dot command 'D:\sapr\webserver\Graphviz2.38\bin\dot.exe -Tpng' failed with code 1: Error: <stdin>: syntax error in line 5 near '"'



Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by Ryan J Ollos

Status: newaccepted

comment:2 Changed 4 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

In 17852:

TracMasterTickets 4.0.5dev: Fix depgraph with summary containing quotes

Fixes #13854.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
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.