Opened 17 years ago
Closed 17 years ago
#1854 closed defect (duplicate)
Cannot add a comment on a line
Reported by: | Owned by: | mikechml | |
---|---|---|---|
Priority: | high | Component: | PeerReviewPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
If I try to add a comment on a line (open dialog, type in a few words and click Add comment) Loading... appears (see pic 1). A refresh leads to No Comments on line (see pic 2). After a click on Add Comment(pic 2) the following error occurs:
Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request
dispatcher.dispatch(req)
File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/local/lib/python2.4/site-packages/TracCodeReview-2.0dev-py2.4.egg/codereview/peerReviewCommentCallback.py", line 44, in process_request
self.createComment(req)
File "/usr/local/lib/python2.4/site-packages/TracCodeReview-2.0dev-py2.4.egg/codereview/peerReviewCommentCallback.py", line 114, in createComment
if hasattr(upload, 'filename') and upload.filename:
AttributeError: 'unicode' object has no attribute 'filename'
The file is already patched:
line 114, in createComment
if hasattr(upload, 'filename') and upload.filename:
Operating System: SLES 10
Trac 0.10.3.1
See Ticket #1855