Skip to Main Content
HCL Connections Ideas Portal

Welcome to the HCL Connections Product Ideas Lab! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by the HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events, please visit our HCL Connections page.

Status Needs Review
Created by Guest
Created on Feb 7, 2020

Fix JS errors from external users invite system

A vanilla CNX 6.5 installation throws JS errors:

XML Parsing Error: not well-formed
Location: https://cnx65.internal/selfservice/acl/invite
Line Number 1, Column 1:

The mentioned url returns the following JSON: {"access":false}

So something is wrong here, when your JS code expects XML and the API returns JSON.
This error occurs even after setting <pre-register enabled="true" to <pre-register enabled="false" in selfregistration-config.xml.

Having uncaught JS exceptions is bad practice and could have side-effects to other functionalities. So please fix this. When the feature is not enabled, it shouldn't make any requests to the server and the JS code should parse JSON (or the API returning XML, depending on what fits your conversation).

  • Attach files