Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#5665 closed defect (fixed)

Can not change ticket values without setting date.

Reported by: blaine.mucklow@… Owned by: doki_pen
Priority: normal Component: DateFieldPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


When trying to update a comment, or any aspect of the Ticket without setting the initial due date ("MM-DD-YYYY" in due date field), The ticket can not be updated. Have to either enter a date or blank out the field for Trac to accept the ticket changes.

Attachments (0)

Change History (5)

comment:1 Changed 7 years ago by rjollos

The plug-in is working very well for me. Perhaps you have a conflict with another plug-in? Are you using the TicketChangePlugin to 'update a comment'? What do you mean by 'blank out the field'?

comment:2 Changed 7 years ago by doki_pen

I have a feeling this might be because jquery-ui puts an initial value in the field to help the user. I don't have time to test, but this might only happen when the field is blank. Can you post your settings? Also, try looking at the jquery-ui docs for the datepicker. There may be an option that you can add to the templates/datefield.html that will stop the default format from being displayed. I will accept the patch.

comment:3 Changed 7 years ago by doki_pen

  • Status changed from new to assigned

comment:4 Changed 7 years ago by doki_pen

  • Resolution set to fixed
  • Status changed from assigned to closed

I don't think this issue exists anymore

comment:5 Changed 7 years ago by terje

For the record there is a datepicker option to set the default date:

Add Comment

Modify Ticket

as closed The owner will remain doki_pen.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.