Edgewall Software

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#10853 closed defect (fixed)

Custom time ticket field default value

Reported by: Peter Suter Owned by: Peter Suter
Priority: normal Milestone: 1.1.1
Component: ticket system Version:
Severity: normal Keywords: datetime
Cc: ryan.j.ollos@…
Release Notes:

In new tickets, custom time ticket fields may default to an absolute or relative date / time.

API Changes:


The new custom time fields from #1942 should support a default value as described on TracTicketsCustomFields for all other types.

Currently, if such a default is specified creating a new ticket fails with TypeError: expecting datetime, int, long, float, or None; got <type 'unicode'>.

Attachments (1)

T10853-time-field-default.diff (1.1 KB ) - added by Peter Suter 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by Peter Suter

comment:1 Changed 6 years ago by Ryan J Ollos <ryan.j.ollos@…>

Cc: ryan.j.ollos@… added

comment:2 Changed 6 years ago by Peter Suter

Release Notes: modified (diff)
Resolution: fixed
Status: newclosed

Applied in [11351].

comment:3 Changed 6 years ago by Peter Suter

Owner: set to Peter Suter

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Peter Suter.
The resolution will be deleted.
to The owner will be changed from Peter Suter to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.