Modify

Opened 16 years ago

Closed 16 years ago

#2140 closed defect (worksforme)

Afret installing plug WorkLogPlugin, the errer message appears when i try to access ticket that does not exist.

Reported by: ivan@… Owned by: Colin Guthrie
Priority: normal Component: WorkLogPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

After installing WorkLogPlugin instead of normal error message: "Internal Error Ticket N does not exist." I see such an error in my browser:

Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 208, in dispatch
    chrome.populate_hdf(req, chosen_handler)
  File "/var/lib/python-support/python2.4/trac/web/chrome.py", line 319, in populate_hdf
    for category, name, text in contributor.get_navigation_items(req):
  File "build/bdist.linux-i686/egg/worklog/uihooks_ticket.py", line 177, in get_navigation_items
  File "build/bdist.linux-i686/egg/worklog/manager.py", line 59, in can_work_on
  File "/var/lib/python-support/python2.4/trac/ticket/model.py", line 40, in __init__
    self._fetch_ticket(tkt_id, db)
  File "/var/lib/python-support/python2.4/trac/ticket/model.py", line 87, in _fetch_ticket
    'Invalid Ticket Number')
TracError: Ticket 1487 does not exist.

Attachments (0)

Change History (1)

comment:1 Changed 16 years ago by Colin Guthrie

Resolution: worksforme
Status: newclosed

Hi,

Sorry for not noticing this earlier.

This no longer happens on the 0.11 version that I'm actively developing. I'm not sure of the 0.10 status just now but I'm not really concentrating my efforts there anymore. If this is really important to you let me know, but I'm going to close this for now as I think it's OK moving forward.

Thanks :)

Modify Ticket

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