Modify ↓
Opened 15 years ago
Last modified 2 years ago
#5447 new defect
Ability to specify the author and creation time for ticket attachments
Reported by: | Thijs Triemstra | Owned by: | osimons |
---|---|---|---|
Priority: | high | Component: | XmlRpcPlugin |
Severity: | major | Keywords: | |
Cc: | Thijs Triemstra | Trac Release: | 0.11 |
Description
It's currently not possible to specify the creation time or author for a ticket attachment. The attached patch should fix this problem.
Attachments (1)
Change History (5)
Changed 15 years ago by
Attachment: | attachment-author-time.patch added |
---|
comment:1 Changed 15 years ago by
comment:3 Changed 14 years ago by
Priority: | normal → high |
---|
comment:4 Changed 11 years ago by
Note: See
TracTickets for help on using
tickets.
Hmm. Perhaps adding an
attributes={}
parameter to the end of the signature? That could then containauthor
andtime_created
keys? Ideally I would also likedescription
to be in that dictionary, as unlike the other parameters it is just an optional extra.Technically it would perhaps be possible to change
description
toattributes
, and then (at least for a time) test the input - if input is a string then save as description, if it is an dictionary then update whatever attributes it contains or use any default values (likereq.authname
).