﻿id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
10071	Do not use apostrophes in test case names	pwg831@…	Roberto Longobardi	"I happened to put an apostrophe into the name of a test case page and later tried to rename that page. The rename operation had the resulted in an Internal Error:

`TypeError: coercing to Unicode: need string or buffer, NoneType found`

... and all subsequent access to test catalogs and test cases failed with another Internal error.

The cure is to delete the wiki page and the testcase from the database (table `wiki` and table `testcase`.

I've put severity at major - it is unhealthy to people with high blood pressure if it happens in a large set of test cases.

Regards Theodor

PS. !TestManager: Really nice work!

-------------

!TestManager 1.4.10, Python 2.6, RHEL

Python Traceback
Most recent call last:

{{{
File ""/usr/lib/python2.6/site-packages/trac/web/main.py"", line 514, in _dispatch_request
  dispatcher.dispatch(req)
File ""/usr/lib/python2.6/site-packages/trac/web/main.py"", line 261, in dispatch
  content_type)
File ""/usr/lib/python2.6/site-packages/trac/web/chrome.py"", line 843, in render_template
  stream |= self._filter_stream(req, method, filename, stream, data)
File ""/usr/lib/python2.6/site-packages/Genshi-0.6-py2.6.egg/genshi/core.py"", line 132, in __or__
  return Stream(_ensure(function(self)), serializer=self.serializer)
File ""/usr/lib/python2.6/site-packages/trac/web/chrome.py"", line 994, in inner
  data)
File ""build/bdist.linux-x86_64/egg/testmanager/wiki.py"", line 124, in filter_stream
  return self._testcase_wiki_view(req, formatter, planid, page_name, stream)
File ""build/bdist.linux-x86_64/egg/testmanager/wiki.py"", line 374, in _testcase_wiki_view
  tag.input(type='button', value=_(""Open a Ticket on this Test Case""), onclick='creaTicket(""'+tc_name+'"", """", """", ""'+summary+'"")'),
}}}"	defect	new	normal	TestManagerForTracPlugin	major				0.12
