Modify

Opened 17 years ago

Closed 17 years ago

#1854 closed defect (duplicate)

Cannot add a comment on a line

Reported by: c.posluschni@… 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

Attachments (0)

Change History (1)

comment:1 Changed 17 years ago by c.posluschni@…

Resolution: duplicate
Status: newclosed

See Ticket #1855

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain mikechml.
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.