Edgewall Software
Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 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@… Branch:
Release Notes:

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

API Changes:
Internal Changes:

Description

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 12 years ago.

Download all attachments as: .zip

Change History (4)

by Peter Suter, 12 years ago

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

Cc: ryan.j.ollos@… added

comment:2 by Peter Suter, 12 years ago

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

Applied in [11351].

comment:3 by Peter Suter, 12 years ago

Owner: set to Peter Suter

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Peter Suter.
The resolution will be deleted. Next status will be 'reopened'.
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.