Editor is showing error in browser console.
Asked by Abdurashid Vakhobov:

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?


Answers:
author: Stephen Sifers
body: 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

comments: author: Abdurashid Vakhobov
body: 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.


author: Stephen Sifers
body: 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:

* [Confluence Security Advisory - 2019-04-17](https://confluence.atlassian.com/doc/confluence-security-advisory-2019-04-17-968660855.html)
* [Confluence Security Advisory - 2019-03-20](https://confluence.atlassian.com/doc/confluence-security-advisory-2019-03-20-966660264.html)

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


author: Stephen Sifers
body: 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