Modify

Opened 8 years ago

Closed 7 months ago

#3534 closed defect (wontfix)

view page doesn't show reviewers actual vote

Reported by: anonymous Owned by: andersm
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 5 years ago by andersm

  • Owner changed from proofek to andersm

comment:2 Changed 7 months ago by Cinc-th

  • Resolution set to wontfix
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Action
as closed The owner will remain andersm.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.