Modify

Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#8124 closed defect (fixed)

AttributeError: 'NoneType' object has no attribute 'splitlines'

Reported by: Peter Hofer Owned by: Roberto Longobardi
Priority: normal Component: TestManagerForTracPlugin
Severity: normal Keywords: table view, move
Cc: Trac Release: 0.11

Description (last modified by Ryan J Ollos)

Trac detected an internal error:
AttributeError: 'NoneType' object has no attribute 'splitlines'

Python Traceback:
File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.5-py2.6.egg/trac/web/main.py", line 444, in _dispatch_request
  dispatcher.dispatch(req)
File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.5-py2.6.egg/trac/web/main.py", line 226, in dispatch
  data, content_type)
File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.5-py2.6.egg/trac/web/chrome.py", line 737, in render_template
  stream |= self._filter_stream(req, method, filename, stream, data)
File "build/bdist.linux-i686/egg/genshi/core.py", line 128, in __or__File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.5-py2.6.egg/trac/web/chrome.py", line 840, in inner
  data)
File "build/bdist.linux-x86_64/egg/testmanager/wiki.py", line 76, in filter_streamFile "build/bdist.linux-x86_64/egg/testmanager/wiki.py", line 140, in _catalog_wiki_viewFile "build/bdist.linux-x86_64/egg/testmanager/macros.py", line 81, in expand_macroFile "build/bdist.linux-x86_64/egg/testmanager/macros.py", line 338, in _build_catalog_treeFile "build/bdist.linux-x86_64/egg/testmanager/macros.py", line 650, in _render_subtree_as_tableFile "build/bdist.linux-x86_64/egg/testmanager/macros.py", line 716, in _render_testcases_as_tableFile "/usr/local/lib/python2.6/dist-packages/Trac-0.11.5-py2.6.egg/trac/wiki/formatter.py", line 844, in format
  for line in text.splitlines():

Steps to reproduce: 1) Create two catalogs and a sub catalog for each them 2) Create one testcase in each sub catalog 3) at this point switching between "tree view" and "table view" works without problems. 4) now move a testcase from one sub catalog to the other one 5) When you now select the (sub)catalog which was the target for the move and switch to "table view" then the mentioned error occures.

Attachments (0)

Change History (4)

comment:1 Changed 13 years ago by Roberto Longobardi

Hi, please, could you specify which test manager release are you using?

comment:2 Changed 13 years ago by Roberto Longobardi

Fixed with 1.3.8.

comment:3 Changed 13 years ago by Roberto Longobardi

Resolution: fixed
Status: newclosed

comment:4 Changed 13 years ago by Ryan J Ollos

Description: modified (diff)

Modify Ticket

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