[Django] #27913: Admin calendar failed

8 views
Skip to first unread message

Django

unread,
Mar 8, 2017, 12:54:46 PM3/8/17
to django-...@googlegroups.com
#27913: Admin calendar failed
-----------------------------------------+------------------------
Reporter: Martín Peveri | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 1.10
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
When I select a date in the calendar, the javascript console will trigger
the following error:

Uncaught TypeError: callback is not a function at
HTMLAnchorElement.onClick (calendar.js:106)

--
Ticket URL: <https://code.djangoproject.com/ticket/27913>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Mar 8, 2017, 6:25:40 PM3/8/17
to django-...@googlegroups.com
#27913: Admin calendar failed
-------------------------------+--------------------------------------

Reporter: Martín Peveri | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 1.10
Severity: Normal | Resolution:

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------

Comment (by Tim Graham):

Could you please add more details? Are you using any third-party apps
which may be causing the problem? Does it reproduce across all browsers?
Can you provide a sample project that reproduces the problem? I don't see
any errors in Firefox using the date picker at
`/admin/polls/question/add/` in the Django tutorial.

--
Ticket URL: <https://code.djangoproject.com/ticket/27913#comment:1>

Django

unread,
Mar 8, 2017, 8:56:59 PM3/8/17
to django-...@googlegroups.com
#27913: Admin calendar failed
-------------------------------+--------------------------------------
Reporter: Martín Peveri | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 1.10
Severity: Normal | Resolution:

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------

Comment (by Martín Peveri):

Yes, i am using https://github.com/fabiocaccamo/django-admin-interface.
Django-admin-interface does not have the calendar.js file.

In this line is the error:
https://github.com/django/django/blob/3c447b108ac70757001171f7a4791f493880bf5b/django/contrib/admin/static/admin/js/calendar.js#L106

It happens to me in all browsers.

Thanks!

--
Ticket URL: <https://code.djangoproject.com/ticket/27913#comment:2>

Django

unread,
Mar 9, 2017, 7:54:15 AM3/9/17
to django-...@googlegroups.com
#27913: Admin calendar failed
-------------------------------+--------------------------------------
Reporter: Martín Peveri | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 1.10
Severity: Normal | Resolution:

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------

Comment (by Tim Graham):

Please explain why Django is at fault rather than the third-party app. If
you could provide a patch, that would be ideal.

--
Ticket URL: <https://code.djangoproject.com/ticket/27913#comment:3>

Django

unread,
Mar 9, 2017, 10:20:05 AM3/9/17
to django-...@googlegroups.com
#27913: Admin calendar failed
-------------------------------+--------------------------------------
Reporter: Martín Peveri | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 1.10
Severity: Normal | Resolution:

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------

Comment (by Martín Peveri):

Because the application does not have that calendar.js file. I'll check it
out to see what I find

--
Ticket URL: <https://code.djangoproject.com/ticket/27913#comment:4>

Django

unread,
Mar 9, 2017, 10:14:04 PM3/9/17
to django-...@googlegroups.com
#27913: Admin calendar failed
-------------------------------+--------------------------------------
Reporter: Martín Peveri | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 1.10
Severity: Normal | Resolution: invalid

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Martín Peveri):

* status: new => closed
* resolution: => invalid


Comment:

The error was from the third-party application.

Thanks!

--
Ticket URL: <https://code.djangoproject.com/ticket/27913#comment:5>

Reply all
Reply to author
Forward
0 new messages