﻿ticket	summary	type	release	owner	status	created	modified	_description	_reporter
11923	Support Trac 1.0.x	enhancement	1.0	Takanori Suzuki	new	2014-08-14T19:37:29+02:00	2014-08-18T15:46:36+02:00	Numerous minor issues.	Chris Nelson
7318	solution for json problem inside the ticketext.js file (tested on trac 0.12)	defect	0.12	Takanori Suzuki	new	2010-06-30T17:22:29+02:00	2010-06-30T17:22:29+02:00	"I did apply following patch to the file ticketext.js to get it working :
(see also the other ticket #7296 for another problem when working with trac 0.12)

Line  151 : correction typos            

{{{
var isProceed = confirm(_(""Apply the template to the description.\nThe description will be cleared, are you sure?""));
}}}

Line 182 : correction in treating json result

{{{
    $.ajax({
        type: ""GET"",
        url: reqUrl,
        async: false,
        success: function(jsonData){
            var responseData;
            /*if (typeof(jsonData) == ""string"") {
                responseData = eval(""("" + jsonData + "")"");
            } else {
                responseData = eval(""("" + jsonData.responseText + "")"");
            }*/
            responseData = jsonData;
            self.applyTemplate(responseData);
        }
    });
}}}

I don't understand how the original code did work once?
jsonData.responseText is no member of the object...
Or am I missing something here?

"	evb
7132	plugin is just semi-internationalized, should be done more generic to support multiple languages	enhancement	0.12	Takanori Suzuki	new	2010-05-16T01:14:11+02:00	2010-05-16T01:18:03+02:00	"current tagging 'i18n' is misleading, since obviously: en + jp != i18n

please consider making your i18n work more generic and truely i18n with POT file available,[[BR]]
have a look at http://trac.edgewall.org/wiki/CookBook/PluginL10N and[[BR]]
study [wiki:TracTicketTemplatePlugin TicketTemplate plugin] for a working i18n solution for JS files"	Steffen Hoffmann
7296	0.12 compatability	enhancement	0.12	Takanori Suzuki	new	2010-06-24T21:48:02+02:00	2010-06-30T15:58:26+02:00	"I love this plugin.  However we have moved to 0.12 and this plugin doesn't seem to work with it.  Hopefully 0.12 is on your roadmap.

{{{
2010-06-24 14:35:24,826 Trac[main] ERROR: Internal Server Error:
Traceback (most recent call last):
  File ""C:\usr\bin\Python26\lib\site-packages\trac\web\main.py"", line 513, in _dispatch_request
    dispatcher.dispatch(req)
  File ""C:\usr\bin\Python26\lib\site-packages\trac\web\main.py"", line 235, in dispatch
    resp = chosen_handler.process_request(req)
  File ""build\bdist.win32\egg\ticketext\template.py"", line 93, in process_request
    template_api.process_tickettemplate(self.env, req, 'type')
  File ""build\bdist.win32\egg\ticketext\api.py"", line 62, in process_tickettemplate
    req.write(response)
  File ""C:\usr\bin\Python26\lib\site-packages\trac\web\api.py"", line 530, in write
    raise ValueError(""Can't send unicode content"")
ValueError: Can't send unicode content
}}}

"	Jay
9273	trac return 500 error when the request has no Accept-Language header	defect	0.12	Takanori Suzuki	new	2011-10-17T07:48:05+02:00	2011-10-17T07:48:05+02:00	"
While using curl/wget to GET /ticket/xxxx, Trac return 500 error like below.This issue can be fixed by adding an ""Accept-Language"" header to the command.

ticketext version: r10092

command: curl http://myhost/ticket/xxxx

{{{
Traceback (most recent call last):
  File ""/usr/lib/python2.6/site-packages/trac/web/main.py"", line 511, in _dispatch_request
    dispatcher.dispatch(req)
  File ""/usr/lib/python2.6/site-packages/trac/web/main.py"", line 248, in dispatch
    self._post_process_request(req, *resp)
  File ""/usr/lib/python2.6/site-packages/trac/web/main.py"", line 357, in _post_process_request
    resp = f.post_process_request(req, *resp)
  File ""/usr/lib/python2.6/site-packages/ticketext/template.py"", line 42, in post_process_request
    locale = LocaleUtil().get_locale(req)
  File ""/usr/lib/python2.6/site-packages/ticketext/api.py"", line 22, in get_locale
    if (len(locale_array) &gt; 0):
TypeError: object of type 'NoneType' has no len()
}}}

"	anonymous
11926	Doesn't work with single Trac environment	defect	0.12	Takanori Suzuki	new	2014-08-15T20:45:09+02:00	2014-08-15T20:45:09+02:00	"If Trac is running with single environment, e.g. `tracd -s $TRACENV`, the plugin will request `http://ticketext/template?....`.

{{{#!diff
Index: ticketext/htdocs/ticketext.js
===================================================================
--- ticketext/htdocs/ticketext.js       (revision 14073)
+++ ticketext/htdocs/ticketext.js       (working copy)
@@ -86,9 +86,7 @@
                              ""field_owner"", ""field_type"", ""field_priority"", ""field_milestone"",
                              ""field_component"", ""field_version"", ""field_severity"", ""field_keywords"",                             ""field_cc""];

-    if (baseUrlValue) {
-        this.baseUrl = baseUrlValue;
-    }
+    this.baseUrl = baseUrlValue;
 };

 /**
}}}"	Jun Omae
4302	cooperation with ticket-clone r6326	defect	0.11	Takanori Suzuki	new	2008-12-18T11:03:07+01:00	2009-01-28T10:53:37+01:00	"Plugin work bed with ticket-clone r6326.
After ticket clone, desription is replaced by template for ticket.
When ticket is cloning, desription shouldn't be replaced."	anonymous
5900	Plugin doesnt work on Google Chrome using https	defect	0.11	Takanori Suzuki	new	2009-09-30T00:09:50+02:00	2009-09-30T00:09:50+02:00	"Hello,
The sync XMLHttpRequest  is not working on Google Chrome using SSL."	anonymous
6091	any plan to support dynamic show/hide custom field?	defect	0.11	Takanori Suzuki	new	2009-10-30T10:24:15+01:00	2009-10-30T10:24:15+01:00	auto show/hide might be better way than enable/disable	anonymous
7128	add to requirement list: TracWysiwyg plugin	defect	0.11	Takanori Suzuki	new	2010-05-15T04:59:57+02:00	2010-05-15T04:59:57+02:00	"The latest version of TicketExtPlugin requires the TracWysiwyg plugin, though that is not mentioned in the documentation. Only json-py and CustomFieldAdminPlugin are mentioned there.

I'm using Trac 0.11.5 with Python 2.4.

Thanks!"	Vahid Pazirandeh
8809	TypeError: 'NoneType' object is not iterable	defect	0.11	Takanori Suzuki	assigned	2011-05-17T17:46:23+02:00	2014-04-10T10:05:44+02:00	"==== How to Reproduce ====

While doing a GET operation on `/admin/ticket/template_admin`, Trac issued an internal error.

I installed the TicketExt plugin like so:

svn export http://trac-hacks.org/svn/ticketextplugin
cd ticketextplugin/0.11
python setup.py bdist_egg
and then I moved dist/TicketExtPlugin-0.3.2-py2.6.egg into the plugins directory of trac


Request parameters:
{{{
{'cat_id': u'ticket', 'panel_id': u'template_admin', 'path_info': None}
}}}


User Agent was: `Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110422 Ubuntu/10.10 (maverick) Firefox/3.6.17`

==== System Information ====

|| '''Trac''' || `0.11.7` ||
|| '''Python''' || `2.6.5 (r265:79063, Apr 16 2010, 14:15:55) ` [[br]] `[GCC 4.4.3]` ||
|| '''setuptools''' || `0.6` ||
|| '''SQLite''' || `3.6.22` ||
|| '''pysqlite''' || `2.4.1` ||
|| '''Genshi''' || `0.5.1` ||
|| '''mod_python''' || `3.3.1` ||
|| '''Pygments''' || `1.2.2` ||
|| '''Subversion''' || `1.6.6 (r40053)` ||
|| '''CustomFieldAdmin''' || `0.2.5` ||
|| '''jQuery:''' || `1.3.2` ||

==== Python Traceback ====
{{{
Traceback (most recent call last):
  File ""/usr/lib/python2.6/dist-packages/trac/web/main.py"", line 450, in _dispatch_request
    dispatcher.dispatch(req)
  File ""/usr/lib/python2.6/dist-packages/trac/web/main.py"", line 206, in dispatch
    resp = chosen_handler.process_request(req)
  File ""/usr/lib/python2.6/dist-packages/trac/admin/web_ui.py"", line 114, in process_request
    path_info)
  File ""build/bdist.linux-x86_64/egg/ticketext/template_admin.py"", line 67, in render_admin_panel
    self._process_read(req, page_param)
  File ""build/bdist.linux-x86_64/egg/ticketext/template_admin.py"", line 91, in _process_read
    for cf in customfields:
TypeError: 'NoneType' object is not iterable

}}}
     
"	David
9117	the items in custom field or trac default field disappear when it is disable	defect	0.11	Takanori Suzuki	new	2011-08-22T11:13:55+02:00	2011-08-22T11:13:55+02:00	"
This plugin just effects the item in custom field，I think it is better to extend the trac default field.  

When the item in custom field or trac default field is disable, It can not be set again but still can be seen. I think it is better to hide all items which has been disable. 
   "	anonymous
11922	I'd like to adopt TicketExt	task		Takanori Suzuki	new	2014-08-14T19:35:31+02:00	2014-08-15T16:40:27+02:00	There has been no activity from the author in 3 years.  I use it daily and have it running and mostly working in Trac 1.0.1.  I'm happy to feed my changes back.	Chris Nelson
