|Reported by:||Owned by:||Remy Blank|
I had a component name that had double quotes in it, i.e. it was called:
M3 - Stable "Release" with License detection
Error: missing ] after element list Source File: https://myserver/trac/query Line: 310, Column: 26 Source Code: "M3 - Stable "Release" with License detection",
This "graceful failure" was very nice, except… that because of it, it took me a *long time* to realize that I had lost a great feature: when it started occuring (when I named my milestone), I didn't realize immediately that it had broken the query page !
Maybe a less "graceful" failure would have been better in this case ?
Anyhow, the fix is simply to escape the quotes in the template. I'm not familiar enough with Genshi to fix it, but I suppose the fix is around this line in
<py:if test="'options' in field">, options: [ <py:for each="option, sep in separated(field.options)">"$option"$sep </py:for>]