Ticket #6120 (new defect)
Trac reports for existing rev 'No changeset ??? in the repository' + solution
| Reported by: | trebor74hr@… | Owned by: | cboos |
|---|---|---|---|
| Priority: | high | Milestone: | 0.11-retriage |
| Component: | version control/changeset view | Version: | devel |
| Severity: | normal | Keywords: | needfinfo |
| Cc: |
Description
We use Trac 0.11dev-r6038 which is installed on win32+standalone. Our trac was originally installed as 0.10, and recently upgraded to 0.11dev-r6038.
when i type url:
browser:
Error: No such changeset No changeset 1492 in the repository
in trac.log:
2007-10-02 14:39:42,555 Trac[__init__] DEBUG: Dispatching <Request "GET u'/chrome/common/css/changeset.css'"> 2007-10-02 14:39:42,555 Trac[__init__] DEBUG: Dispatching <Request "GET u'/chrome/common/css/diff.css'"> 2007-10-02 14:39:42,571 Trac[__init__] DEBUG: Dispatching <Request "GET u'/chrome/common/css/code.css'"> 2007-10-02 14:39:42,696 Trac[__init__] DEBUG: Dispatching <Request "GET u'/chrome/common/js/diff.js'"> 2007-10-02 14:39:42,930 Trac[__init__] DEBUG: Dispatching <Request "GET u'/changeset/1492'"> 2007-10-02 14:39:42,993 Trac[__init__] DEBUG: cache metadata undefined (youngest_rev=u'') 2007-10-02 14:39:42,993 Trac[__init__] INFO: repos rev [1501] != cached rev [None] 2007-10-02 14:39:42,993 Trac[__init__] DEBUG: Retrieving session for ID u'user1' 2007-10-02 14:39:43,085 Trac[__init__] WARNING: 404 No such changeset (No changeset 1492 in the repository) 2007-10-02 14:39:43,085 Trac[__init__] DEBUG: Prepare chrome data for request
Solution:
table system record youngest_rev was empty, after i updated it to 1491 it worked properly. now it is at 1501 - the newest revision in our svn. the 1491 is last rev viewed by trac 0.10, and http://localhost/trac/changeset/1491 works ok.
Proposal:
to avoid such problems - if system.youngest_rev is empty then handle case
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


