id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release
10071,Do not use apostrophes in test case names,pwg831@adm.ku.dk,seccanj,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:\r\n\r\n`TypeError: coercing to Unicode: need string or buffer_ NoneType found`\r\n\r\n... and all subsequent access to test catalogs and test cases failed with another Internal error.\r\n\r\nThe cure is to delete the wiki page and the testcase from the database (table `wiki` and table `testcase`.\r\n\r\nI've put severity at major - it is unhealthy to people with high blood pressure if it happens in a large set of test cases.\r\n\r\nRegards Theodor\r\n\r\nPS. !TestManager: Really nice work!\r\n\r\n-------------\r\n\r\n!TestManager 1.4.10_ Python 2.6_ RHEL\r\n\r\nPython Traceback\r\nMost recent call last:\r\n\r\n{{{\r\nFile "/usr/lib/python2.6/site-packages/trac/web/main.py"_ line 514_ in _dispatch_request\r\n  dispatcher.dispatch(req)\r\nFile "/usr/lib/python2.6/site-packages/trac/web/main.py"_ line 261_ in dispatch\r\n  content_type)\r\nFile "/usr/lib/python2.6/site-packages/trac/web/chrome.py"_ line 843_ in render_template\r\n  stream |= self._filter_stream(req_ method_ filename_ stream_ data)\r\nFile "/usr/lib/python2.6/site-packages/Genshi-0.6-py2.6.egg/genshi/core.py"_ line 132_ in __or__\r\n  return Stream(_ensure(function(self))_ serializer=self.serializer)\r\nFile "/usr/lib/python2.6/site-packages/trac/web/chrome.py"_ line 994_ in inner\r\n  data)\r\nFile "build/bdist.linux-x86_64/egg/testmanager/wiki.py"_ line 124_ in filter_stream\r\n  return self._testcase_wiki_view(req_ formatter_ planid_ page_name_ stream)\r\nFile "build/bdist.linux-x86_64/egg/testmanager/wiki.py"_ line 374_ in _testcase_wiki_view\r\n  tag.input(type='button'_ value=_("Open a Ticket on this Test Case")_ onclick='creaTicket("'+tc_name+'"_ ""_ ""_ "'+summary+'")')_\r\n}}},defect,closed,normal,TestManagerForTracPlugin,major,invalid,,,0.12
