Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Editor is showing error in browser console.

Abdurashid Vakhobov July 29, 2019

There is a code in vm file:

<form id="announcing-body" name="announcing-body">
#bodytag ("Component" "name='Content'" "theme='aui'" "template='editor.vm'")
#param ("formname" "announcing-body")
#param ("tabindex" -1)
#param ("heartbeat" "true")
#param ("contentId" "0")
#param ("contentType" "comment")
#param ("minEditorHeight" "150")
#param ("useWatch" "false")
#param ("shouldResize" "true")
#param ("fullscreen" "false")
#param ("requireResources" "true")
#param ("autoStart" "true")
#param ("wrapEditorWithContainer" "true")
#param ("showDraftStatus" "false")
#end
</form>

Above code opens editor. However, it is throwing error in browser's console:
Uncaught TypeError: Cannot read property 'id' of undefined at exports.default (batch.js?frontend.editor.v4=true&healthcheck-resources=true&hostenabled=true&locale=en-US:7889) at Object.getUsers (batch.js?frontend.editor.v4=true&healthcheck-resources=true&hostenabled=true&locale=en-US:7709) at Object.getUsers (batch.js?frontend.editor.v4=true&healthcheck-resources=true&hostenabled=true&locale=en-US:6534) at Object.prefetchSuppliers (batch.js?frontend.editor.v4=true&healthcheck-resources=true&hostenabled=true&locale=en-US:6474) at editorPluginInit (batch.js?frontend.editor.v4=true&healthcheck-resources=true&hostenabled=true&locale=en-US:7407) at init (batch.js?frontend.editor.v4=true&healthcheck-resources=true&hostenabled=true&locale=en-US:7333) at dispatch (batch.js?locale=en-US:247) at h (batch.js?locale=en-US:238) at Object.trigger (batch.js?locale=en-US:244) at batch.js?locale=en-US:259

 

confluence version = 6.14.1

What should be done in order to fix that bug?

1 answer

0 votes
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 30, 2019

Hello Abdurashid,

The information and error you sent is very much appreciated. In order to recreate and then create a bug for this event, we need to understand the steps taken. With this said, could you please give us the workflow you use to create these errors within the console output in your browser? Additionally, we’ll need some more information for testing:

  • What browser(s) are you testing against?
  • What is your current version of Java?

We look forward to hearing back so we may locate and report this issue.

Regards,
Stephen Sifers

Abdurashid Vakhobov July 30, 2019

Hi Stephen,

  • What browser(s) are you testing against?

          Chrome

  • What is your current version of Java? 

          Java 8

 

Upon opening the page it shows this error message. In early version this bug did not exist. 

Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 31, 2019

Hello Abdurashid,

With Confluence 6.14.1, we would suggest upgrading to the latest available version due to recent CVE (security vulnerabilities) to avoid any possible issues. You may find these CVE’s here:

With this said, we’ll test against Confluence 6.14.3 to find further information on this error. Please allow us some time to recreate this event.

Regards,
Stephen Sifers

Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 31, 2019

Hello,

I've attempted to recreate your reported issue with Confluence 6.14.3 using Chrome and have been unsuccessful in doing so. I attempted with multiple apps and was unable to produce your reported error within the Chrome console.

It could be possible I'm not completing the same workflow as you are. Additionally, I could be looking in the wrong place. Could you provide further information on this and also include a screenshot of the console output you're seeing?

Regards,
Stephen Sifers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events