Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

#9038 closed defect (fixed)

Latest multirepos revision chokes on revision log links

Reported by: Robert Rossmair <r.rossmair@…> Owned by: Remy Blank
Priority: normal Milestone: 0.12
Component: wiki system Version: 0.12dev
Severity: major Keywords: multirepos "revision log links"
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

If no default repository is defined, a revision log link like

r1:3

causes Trac 0.12multirepos-r9124 to throw an internal error

AttributeError: 'NoneType' object has no attribute 'reponame'

I understand that such a link can't be resolved in a multi-repository environment, but it shouldn't throw an internal error at least.

The TracLinks Wiki page for example can't be displayed (nor edited) any more, because it contains such links.

It would be nice by the way to document the link syntax (changesets, revision logs etc.) for multirepos-Trac, so that we don't need to resort to trial and error. Or have I overlooked existing documentation?

Attachments (0)

Change History (2)

comment:1 by Remy Blank, 14 years ago

Owner: set to Remy Blank

Agreed, we shouldn't throw an internal error. I'll fix that.

About the documentation, it's a work in progress. It's the same syntax as for scoped links, for example to show revision 123 on repository repos, you use [123/repos].

comment:2 by Remy Blank, 14 years ago

Resolution: fixed
Status: newclosed

Fixed in [9165].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Remy Blank.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Remy Blank to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.