Modify

Opened 5 months ago

#11607 new defect

Processing "View revision" needs "display_rev" set in data.

Reported by: anonymous Owned by: olemis
Priority: normal Component: PeerReviewPlugin
Severity: normal Keywords:
Cc: rjollos Trac Release:

Description

When creating a code review, the browser display can show files based on a revision in the "View revision" field.

When setting this field, the display_rev property needs to be set when calling the web page. (I am not entirely familiar with programming of the templates and such, but I hope this is making sense.)

I seem to have fixed this in my own installation (Trac 0.12.2) by inserting some lines in file peerReviewBrowser.py, function process_request() ...

First, after the retrieving of repos, I added:

        display_rev = repos.display_rev

Then when setting data, I added:

            'display_rev': display_rev,

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.