Opened 14 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:


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, 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

as new The owner will remain olemis.

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

Note: See TracTickets for help on using tickets.