Modify ↓
#1551 closed defect (fixed)
Validating Test Scripts crashes if no testtemplates.xml exists.
Reported by: | Owned by: | edunne | |
---|---|---|---|
Priority: | normal | Component: | TestCaseManagementPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
Before I added the testtemplates.xml to the subversion-test-case directory, the Link "Validate Test Scripts" crashed with the following error message:
Traceback (most recent call last): File "/var/lib/python-support/python2.5/trac/web/main.py", line 387, in dispatch_request dispatcher.dispatch(req) File "/var/lib/python-support/python2.5/trac/web/main.py", line 237, in dispatch resp = chosen_handler.process_request(req) File "build/bdist.linux-i686/egg/testManagementPlugin/testManager.py", line 82, in process_requestAttributeError: 'NoneType' object has no attribute 'getTemplateNames' when template, content_type = pageProvider.process_testmanager_request( req ) File "build/bdist.linux-i686/egg/testManagementPlugin/testScriptValidator.py", line 34, in process_testmanager_requestAttributeError: 'NoneType' object has no attribute 'getTemplateNames' when clicking on "Validate Test Scripts" for name in projTemplates.getTemplateNames() : AttributeError: 'NoneType' object has no attribute 'getTemplateNames'
I'm using Trac 0.10.3, but I don't think that's important =)
Attachments (0)
Change History (3)
comment:1 Changed 18 years ago by
comment:2 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
this is now fixed in the trunk at rev 2260. I'll merge the change into the 0.3 branch shortly.
comment:3 Changed 18 years ago by
wrong place here, I know. But could you please tell me your e-mail address? I'd like to ask you some questions. The e-mail address given in the TracWiki is not working... thanks.
Note: See
TracTickets for help on using
tickets.
Yeah, if the test templates.xml file doesn't exist I should simply add that as one of the verification steps. I assumed that it would exist, but that's probably a bad assumption.
thanks for the feedback.