Changeset 826

Show
Ignore:
Timestamp:
06/07/06 00:20:08 (2 years ago)
Author:
athomas
Message:

XmlRpcPlugin:

Explicitly set the reporter in newly created tickets.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • xmlrpcplugin/0.10/tracrpc/ticket.py

    r821 r826  
    5353        t['summary'] = summary 
    5454        t['description'] = description 
     55        t['reporter'] = req.authname or 'anonymous' 
    5556        for k, v in attributes.iteritems(): 
    5657            t[k] = v 
     
    6364        for k, v in attributes.iteritems(): 
    6465            t[k] = v 
    65         t.save_changes(req.authname, comment) 
     66        t.save_changes(req.authname or 'anonymous', comment) 
    6667        return self.get(req, t.id) 
    6768