Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#5665 closed defect (fixed)

Can not change ticket values without setting date.

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

Description

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 8 years ago by Ryan J Ollos

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 8 years ago by Robert Corsaro

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 8 years ago by Robert Corsaro

Status: newassigned

comment:4 Changed 8 years ago by Robert Corsaro

Resolution: fixed
Status: assignedclosed

I don't think this issue exists anymore

comment:5 Changed 8 years ago by terje

For the record there is a datepicker option to set the default date: http://docs.jquery.com/UI/Datepicker#option-defaultDate

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Robert Corsaro.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.