An exception on boards click: ReferenceError: Calendar is not defined

Basile B August 2, 2017

When I click on the agile board I have an exception of style:

An error occurredHide…(4)

Please try refreshing the page, or contact your administrator / Atlassian Support if the problem continues.

Details

    • Exception: ReferenceError: Calendar is not defined
    • Resource: <my.jira.server>/s/d41d8cd98f00b204e9800998ecf8427e-CDN/o4n1pc/74004/b6b48b2829824b869586ac216d119363/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js
    • Line: 3
    • Column: 1
    • Exception: Error: No jira/moment
    • Resource: <my.jira.server>/s/fa325a9fd94d30e583ee98a507fe3efd-CDN/o4n1pc/74004/b6b48b2829824b869586ac216d119363/11754f0767d567110909763160c08887/_/download/contextbatch/js/_super/batch.js?locale=en-US
    • Line: 19
    • Column: 983
    • Exception: TypeError: GH.RapidBoard is undefined
    • Resource:<my.jira.server>/secure/RapidBoard.jspa
    • Line: 195
    • Column: 13
    • Exception: Error: undefined missing jira/projects/sidebar/expansion-manager
    • Resource: <my.jira.server>/s/fa325a9fd94d30e583ee98a507fe3efd-CDN/o4n1pc/74004/b6b48b2829824b869586ac216d119363/11754f0767d567110909763160c08887/_/download/contextbatch/js/_super/batch.js?locale=en-US
    • Line: 19
    • Column: 1973

Environment

Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0

Stack trace

  • @<my.jira.server>/s/d41d8cd98f00b204e9800998ecf8427e-CDN/o4n1pc/74004/b6b48b2829824b869586ac216d119363/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js:3:1

Even if I setup jira in the safe mode the exception is still present and it impacts only my profile. For others users it works fine.

2 answers

0 votes
Dennis Guse June 28, 2020

Hi Atlassian Team,

this issue is also affecting us JIRA Software & JSD 8.5.3 (Dashboard view) ; we are currently evaluating a move from our single server to a data center environment with CDN connected. The moment we switch on the CDN this issue is popping up , can be observed in the Chrome Console. So I assume there is a Bug in your Jira Core Code , somehow for this module not following : https://developer.atlassian.com/server/framework/atlassian-sdk/stateless-web-resource-transforms-and-conditions/

We already tryed to run in safe mode, disabling all addons etc. ... no success; when we switch on the CDN the content of Dashboards is not loaded 

Uncaught ReferenceError: Calendar is not defined
at jira.webresources:calendar-en.js:15

;
/* module-key = 'jira.webresources:calendar-localisation-moment', location = '/includes/lib/calendar/Calendar-localisation-moment.js' */
define("jira/calendar/localisation-moment",["require"],function(a){"use strict";var e=a("jira/moment"),o=a("jira/libs/calendar"),t=e.localeData("jira");null!==t&&"object"==typeof t&&"function"==typeof o&&(o._DN=t._weekdays.concat(t._weekdays[0]),o._SDN=t._weekdaysShort.concat(t._weekdaysShort[0]),o._MN=[].concat(t._months),o._SMN=[].concat(t._monthsShort))}),require("jira/calendar/localisation-moment");;

0 votes
somethingblue
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 2, 2017

Hi Basile,

Since this is only affecting you, I would do the following:

  1. Put your browswer in Safe Mode and try it again.  If this does not produce the same behavior you'll want to look at Browser add-ons.
  2. Try another browser.

Since it's only happening to you I am a bit hesitant to think it could be the proxy, however, from past experience it could be.  If you are using a proxy, follow the steps in How to bypass a Proxy and SSL to test network connectivity to bypass the proxy and test. 

* Be sure to use a port that you are not currently using.

Try those things and let me know the results.

Cheers,

Branden

Heng Cheong August 15, 2017

Our tester has been testing the latest JIRA Software 7.4.1 and 7.4.2 as part of our upgrade from 6.4.x and has encountered the same error.

 

  • Unfortunately, we have yet to pinpoint the exact steps to simulate/reproduce but have seen the error on more than one occassion on IE11.
ChristianWaidner December 17, 2017

I do have a similar problem after upgrading jira.

7.6.0 and 7.6.1 show this behaviour, all agile boards crash:

 

Details

Environment

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36

Stack trace

somethingblue
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 18, 2017

Hi Christian,

The No jira/editor/customizer has a knowledge base article titled Exception: Error: undefined missing jira/editor/registry when accessing when any agile board:

Cause

The caused of it due to the Documents third-party plugin is not compatible with the JIRA version you are running.

Resolution

Update the plugin to the latest compatible version.

Cheers,

Branden

ChristianWaidner December 18, 2017

I do not have this addon installed. But thanks anyway.

I narrowed it down to the Jira Service Desk addon. If I disable Service Desk, boards are working again. Problem is, we need Service desk.

Suggest an answer

Log in or Sign up to answer