Ticket #103 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Unable to display a change that is older than what is in the history

Reported by: jparks@jparks.net Assigned to: ttressieres
Priority: normal Component: PerforcePlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

Here is the traceback:

Traceback (most recent call last):

File "/usr/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 206, in handler

dispatch_request(mpr.path_info, mpr, env)

File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 139, in dispatch_request

dispatcher.dispatch(req)

File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 107, in dispatch

resp = chosen_handler.process_request(req)

File "/usr/lib/python2.4/site-packages/trac/versioncontrol/web_ui/changeset.py", line 87, in process_request

self._render_html(req, repos, chgset, diff_options)

File "build/bdist.linux-i686/egg/p4trac/p4trac.py", line 605, in _render_html File "/usr/lib/python2.4/site-packages/trac/versioncontrol/web_ui/changeset.py", line 156, in _render_html

previous_rev = repos.previous_rev(chgset.rev)

File "build/bdist.linux-i686/egg/p4trac/p4trac.py", line 213, in previous_rev

ValueError?: list.index(x): x not in list

Attachments

patch.txt (2.8 kB) - added by jparks@jparks.net on 12/19/05 11:05:03.

Change History

12/19/05 02:11:58 changed by ttressieres

  • status changed from new to assigned.

12/19/05 02:12:41 changed by ttressieres

i need to refactor the history handling. Maybe i will do it this week.

12/19/05 11:05:03 changed by jparks@jparks.net

  • attachment patch.txt added.

12/19/05 11:05:18 changed by jparks@jparks.net

I've attached a patch that will not crash when going to an older revision.

01/12/06 15:27:32 changed by ttressieres

  • status changed from assigned to closed.
  • resolution set to fixed.

fixed in [326]


Add/Change #103 (Unable to display a change that is older than what is in the history)




Change Properties
Action