Modify

Opened 8 years ago

Closed 8 years ago

#13094 closed defect (fixed)

can not create a test plan after clicking Generate a test plan

Reported by: anonymous Owned by: Roberto Longobardi
Priority: highest Component: TestManagerForTracPlugin
Severity: blocker Keywords: testplans
Cc: Trac Release: 1.2

Description (last modified by Ryan J Ollos)

Install test manager by the correct order

  • add a test catalog
  • then add a test case in catalog
  • return the catalog
  • type a name
  • click generate a test plan
  • Click Create a test plan
  • No response.
2017-03-02 23:11:54,652 Trac[model] DEBUG: Searching for resourceworkflowstate: WHERE 1=1 AND id=%%s AND res_realm=%%s
2017-03-02 23:11:54,652 Trac[model] DEBUG: id = {'id':'0'}
2017-03-02 23:11:54,652 Trac[model] DEBUG: res_realm = testcatalog
2017-03-02 23:11:54,652 Trac[model] DEBUG: Object NOT found.
2017-03-02 23:11:54,652 Trac[model] DEBUG: Exists: False
2017-03-02 23:11:54,652 Trac[model] DEBUG: {'state': 'new', 'res_realm': 'testcatalog', 'id': u"{'id':'0'}"}
2017-03-02 23:11:54,653 Trac[api] DEBUG: <<< ResourceWorkflowSystem - get_available_actions
2017-03-02 23:11:54,653 Trac[workflow] DEBUG: <<< TestManagerWorkflowInterface - filter_stream
2017-03-02 23:11:54,868 Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/chrome/site/your_project_logo.png'">
2017-03-02 23:11:54,868 Trac[main] DEBUG: Chosen handler is <Component trac.web.chrome.Chrome>
2017-03-02 23:11:54,981 Trac[chrome] WARNING: File your_project_logo.png not found in any of ['/var/www/trac/gdpplus/htdocs']
2017-03-02 23:11:54,982 Trac[main] WARNING: [192.168.0.200] HTTPNotFound: 404 Not Found (File your_project_logo.png not found)
2017-03-02 23:11:54,982 Trac[chrome] DEBUG: Prepare chrome data for request
2017-03-02 23:11:54,983 Trac[session] DEBUG: Retrieving session for ID u'wangxiaofeng'
2017-03-02 23:15:47,561 Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/admin'">
2017-03-02 23:15:47,563 Trac[main] DEBUG: Chosen handler is <Component trac.admin.web_ui.AdminModule>
2017-03-02 23:15:47,564 Trac[session] DEBUG: Retrieving session for ID u'wangxiaofeng'
2017-03-02 23:15:47,570 Trac[chrome] DEBUG: Prepare chrome data for request
2017-03-02 23:15:47,575 Trac[main] DEBUG: Rendering response from handler
2017-03-02 23:15:47,732 Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/chrome/common/css/admin.css'">
2017-03-02 23:15:47,733 Trac[main] DEBUG: Chosen handler is <Component trac.web.chrome.Chrome>
2017-03-02 23:15:47,739 Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/chrome/common/js/resizer.js'">
2017-03-02 23:15:47,739 Trac[main] DEBUG: Chosen handler is <Component trac.web.chrome.Chrome>
2017-03-02 23:15:47,778 Trac[session] DEBUG: Retrieving session for ID u'wangxiaofeng'
2017-03-02 23:15:47,794 Trac[session] DEBUG: Retrieving session for ID u'wangxiaofeng'
2017-03-02 23:15:47,840 Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/chrome/site/your_project_logo.png'">
2017-03-02 23:15:47,841 Trac[main] DEBUG: Chosen handler is <Component trac.web.chrome.Chrome>
2017-03-02 23:15:47,920 Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/chrome/common/grip.png'">
2017-03-02 23:15:47,920 Trac[main] DEBUG: Chosen handler is <Component trac.web.chrome.Chrome>
2017-03-02 23:15:47,953 Trac[session] DEBUG: Retrieving session for ID u'wangxiaofeng'
2017-03-02 23:15:47,956 Trac[chrome] WARNING: File your_project_logo.png not found in any of ['/var/www/trac/gdpplus/htdocs']
2017-03-02 23:15:47,956 Trac[main] WARNING: [192.168.0.200] HTTPNotFound: 404 Not Found (File your_project_logo.png not found)
2017-03-02 23:15:47,957 Trac[chrome] DEBUG: Prepare chrome data for request
"trac.log" 14283L, 1667156C

Attachments (1)

testmanager.js (33.3 KB) - added by Roberto Longobardi 8 years ago.
Patched file

Download all attachments as: .zip

Change History (7)

comment:1 Changed 8 years ago by Ryan J Ollos

Description: modified (diff)

comment:2 Changed 8 years ago by Ryan J Ollos

For Trac 1.2, it was also reported in trac:#12705: TemplateNotFound: Template "macros.html" not found.

macros.html is deprecated and was removed in Trac 1.2.

comment:3 Changed 8 years ago by anonymous

how to fix creating test plan

comment:4 Changed 8 years ago by anonymous

any update

comment:5 Changed 8 years ago by Roberto Longobardi

Hi there, this is an incompatibility problem with the latest jQuery version shipped with Trac.

I'm attaching a patched version of testmanager.js file that fixes the problem.

I'll release an updated Test Manager version on SourceForge asap.

In the meantime, you can replace the file inside the source tree and rebuild it, or open TestManager-1.9.0-pyX.Y.egg file (it's a zip file) and replace the file inside it.

Let me know if this is OK.

Changed 8 years ago by Roberto Longobardi

Attachment: testmanager.js added

Patched file

comment:6 Changed 8 years ago by Roberto Longobardi

Resolution: fixed
Status: newclosed

Included in release 1.9.1 now available from SourceForge.

https://sourceforge.net/projects/testman4trac/files

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.