Ticket #9567 (closed defect: invalid)

Opened 1 year ago

Last modified 1 year ago

date picker gets basics wrong

Reported by: info@petamem.com Assigned to: rjollos
Priority: high Component: DateFieldPlugin
Severity: major Keywords: datepicker
Cc: rjollos, coling Trac Release: 0.12

Description

See attached screenshot.

Friday - Monday - Thursday - Sunday - Wednesday - Saturday - Tuesday

You have an interesting sequence of weekdays. :-)

Attachments

datepicker.png (10.8 kB) - added by anonymous on 12/01/11 10:18:32.

Change History

12/01/11 10:18:32 changed by anonymous

  • attachment datepicker.png added.

12/01/11 11:08:26 changed by rjollos

  • cc set to rjollos.

I encountered this problem. I think it was due to a conflict with another plugin. If I remember correctly, it was the WorkLogPlugin that caused a problem. Could you post your list of installed plugin?

12/01/11 11:08:36 changed by rjollos

  • owner changed from doki_pen to rjollos.
  • status changed from new to assigned.

(follow-up: ↓ 4 ) 12/01/11 11:27:04 changed by anonymous

Trac 0.12.2

ContextMenuPlugin 0.1
ExcelDownloadPlugin 0.12.0.1
FootNoteMacro 1.03-r10434
graphviz 0.7.5
RedirectsPlugin 0.1
SvnAuthzAdminPlugin 0.2
timingandestimationplugin 1.1.9
TracAccountManager 0.3.2
TracCodeReview 1.1a
TracCustomFieldAdmin 0.2.6-r10460
TracDateField 1.0.2-r10435
TracIncludeMacro 2.1
TracMasterTickets 3.0.2
TracMetrixPlugin 0.1.8
TracStats 0.4
TracTags 0.7dev-r10639
TracTicketChangelogPlugin 0.1
TracTocMacro 11.0.0.3
TracWorkflowAdmin 0.12.0.1
worklog 0.2

=> Interesting thing is, when I create a ticket, I have a DIFFERENT datepicker than when I modify a ticket. Definitely 2 code paths. The datepicker when creating is ok. This datepicker was when modifying.

(in reply to: ↑ 3 ) 12/01/11 11:29:24 changed by rjollos

Replying to anonymous:

=> Interesting thing is, when I create a ticket, I have a DIFFERENT datepicker than when I modify a ticket. Definitely 2 code paths. The datepicker when creating is ok. This datepicker was when modifying.

Yeah, those are the same symptoms I had. Please try disabling WorkLogPlugin and see if the dates are correct then. Assuming that is the case, I'm not sure what the fix is, but it has to do with conflicting versions of the jquery datepicker.

12/01/11 12:57:42 changed by anonymous

I can confirm it - back and forth.

Disabling worklog plugin (0.2) makes the weird datepicker go away when modifying a ticket. Enabling worklog makes it reappear. Ok. So whatever the fix is, we know at least the cause.

12/01/11 20:09:49 changed by rjollos

Let's see if we can accomplish a fix by an upgrade of datepicker for the DateFieldPlugin. Are you available to do some testing?

(follow-up: ↓ 8 ) 12/01/11 20:50:07 changed by anonymous

sure. I can't promise ultra-short response times, but basically I'm willing to help with that.

(in reply to: ↑ 7 ) 12/01/11 21:02:09 changed by rjollos

Replying to anonymous:

sure. I can't promise ultra-short response times, but basically I'm willing to help with that.

Okay, thanks. I'll see if I can get something uploaded by the weekend.

12/04/11 13:28:35 changed by rjollos

  • cc changed from rjollos to rjollos, coling.

DateFieldPlugin is using jQuery UI 1.8.16, which is the latest version. It looks like our best option might be to port the WorkLogPlugin to using jQuery UI as well. I can probably get to that eventually, but it won't happen for weeks to months. I've cc'ed the author of the WorkLogPlugin to see if he has any comments.

02/02/12 08:43:00 changed by rjollos

  • status changed from assigned to closed.
  • resolution set to invalid.

I think a ticket should be filed against the WorkLogPlugin to suggest an upgrade of the jQuery UI. The author of that plugin has offered me commit access, so I can probably take care of that within the next few months. I'm closing this ticket and I'll open a new one against the WorkLogPlugin.


Add/Change #9567 (date picker gets basics wrong)




Change Properties
Action