This repository has been archived by the owner on Jan 31, 2023. It is now read-only.
Calling enrol with unsuitable CCP can result in unhelpful errors #2909
Labels
enhancement
New feature or request
When connecting to an IBP network, by using an exported CCP, it is possible to select to "omit CA information", which results in empty sections for the CA information.
If trying to enrol with this exported profile, using the recommended "import gateway -> create wallet using gateway", then the extension does not check that the required section in the CCP exists and tries to read the required field directly. This can result in (depending on the CCP convention of empty object or missing field) errors of the form:
It would be more defensive to check for the required existence of the field and report to the user that the CCP is unsuitable for the action they are trying to perform
The text was updated successfully, but these errors were encountered: