Modify

Opened 9 years ago

Closed 11 months ago

#3534 closed defect (wontfix)

view page doesn't show reviewers actual vote

Reported by: anonymous Owned by: Marc
Priority: normal Component: PeerReviewPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

in peerReviewView.py:process_request()

reviewer.Vote returns an int, but you are comparing it to a string. Just wrap str() around it.

Example:

if str(reviewer.Vote) == '-1':

newrvpair.append("Not voted")

elif str(reviewer.Vote) == '0':

newrvpair.append("No")

elif str(reviewer.Vote) == '1':

newrvpair.append("Yes")

rvs.append(newrvpair)

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by Marc

Owner: changed from Sebastian Marek to Marc

comment:2 Changed 11 months ago by Cinc-th

Resolution: wontfix
Status: newclosed

The voting feature was removed with [15290][15485][15501]. Thus this defect is obsolete.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Marc.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.