all.js throwing an error

 

I've added all.js in a script tag locally and its throwing this error

 

all-debug.js:2615 Uncaught TypeError: Object.defineProperty called on non-object
    at Function.defineProperty (<anonymous>)
    at all-debug.js:2615
    at all-debug.js:2963

this is where 2615 line leads to

 /**
   * Returns the custom data Object passed to the dialog at creation.
   * @noDemo
   * @deprecated after August 2017 | Please use the `dialog.getCustomData(callback)` instead.
   * @name customData
   * @memberOf module:Dialog
   * @example
   * var myDataVariable = AP.dialog.customData.myDataVariable;
   *
   * @return {Object} Data Object passed to the dialog on creation.
   */
  Object.defineProperty(AP$2._hostModules.dialog, 'customData', {
    get: getCustomData
  });
  Object.defineProperty(AP$2.dialog, 'customData', {
    get: getCustomData
  });

1 answer

I am seeing the exact same issue with JIRA Cloud and I've verified that all.js is getting loaded from the proper instance URL.

Seeing the same exception being thrown as the original poster happening when all.js gets loaded and AP is never created.

This is an absolute show-stopper for us. 

I am also seeing this. How did you resolve it?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in United States

From Atlassian: Confluence Security Advisory - 2019-03-20

Atlassian released a security advisory on 3/20/2019.  The full advisory is here:  https://confluence.atlassian.com/doc/confluence-security-advisory-2019-03-20-966660264.html In a nutshe...

24 views 0 1
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you