Modify ↓
Opened 16 years ago
Closed 9 years 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 13 years ago by
Owner: | changed from Sebastian Marek to Marc |
---|
comment:2 Changed 9 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
The voting feature was removed with [15290][15485][15501]. Thus this defect is obsolete.