Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#6414 closed defect (invalid)

date picker button disappeared

Reported by: BaSz Owned by: doki_pen
Priority: normal Component: DateFieldPlugin
Severity: normal Keywords:
Cc: bartosz.szurgot@…, anoaman@… Trac Release: 0.11

Description

default version of trac from debian/testing (i.e. trac 0.11.6-2) with up-to-date DateFieldPlugin (got from SVN). until last trac upgrade it worked fine, but after an upgrade due-date date-picker button disappeared. one can still enter date manually into field, and everything else (seems to) work like before, but there is not way to choose date with the date-picker as it used to be.

Attachments (3)

no_date_picker.png (9.1 KB) - added by BaSz 5 years ago.
due-date field with no picker
trac.log (25.1 KB) - added by BaSz 5 years ago.
ticket_181.htm.gz (4.2 KB) - added by BaSz 5 years ago.

Download all attachments as: .zip

Change History (11)

Changed 5 years ago by BaSz

due-date field with no picker

comment:1 Changed 5 years ago by anonymous

  • Cc anoaman@… added

comment:2 Changed 5 years ago by doki_pen

  • Status changed from new to assigned

Please paste your trac.log and trac.ini. Be sure to replace any sensitive info in your trac.ini before posting. See wiki:TracLogging for logging instructions. Please turn debugging on.

Changed 5 years ago by BaSz

Changed 5 years ago by BaSz

comment:3 Changed 5 years ago by BaSz

i've turned debug level for logging and attached log from server restart and some random ticket load. i also attached this ticket's page generated (it's packed, since otherwise it was not accepted by server).

while removing sensitive pieces of information i've noticed warning about no "jquery.js" file - can this be a reason?

comment:4 Changed 5 years ago by anonymous

That is definitely a problem. jquery.js should be a part of trac. How did you deploy trac?

comment:5 Changed 5 years ago by BaSz

apt-get install trac

i use debian/testing. i'll try to see what can i do about it and let you know if i'll find solution (quick search doesn't show jquery.js in trac package :/ ).

comment:6 Changed 5 years ago by BaSz

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

ok - got it! symbolic link /usr/lib/python2.5/site-packages/trac/htdocs/js/jquery.js pointing to /usr/share/pyshared/trac/htdocs/js/jquery.js was missing - adding this helped.

i've just checked that it IS present in official trac release. i'll report this to the debian's trac maintainer.

thank you for your help (and closing ticket)!

comment:7 Changed 5 years ago by anonymous

I remember reading that debian packages jquery seperately. Look for a jquery package to install. If this turns out to be the case, the could you please update the wiki for datefield?

comment:8 Changed 5 years ago by BaSz

it is true, about jquery being separate package on debian. they key is that this package IS installed (if it wouldn't it'd be missing dependency problem). many packages do link to it (locate jquery.js gives many results, where (almost) all are symlinks) on the filesystem level, but somehow trac does not. i've send @ to the trac maintainers' group - i hope they'll fix it soon.

Add Comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.