Open holashchand opened 8 months ago
Registry Core
When array type property is used in attestation properties, it throws error after attestation is raised.
Cause: It deletes the properties from array property. On empty array property it is reading it as object instead of array.
A bug should not have happened, instead ...
No response
https://github.com/Sunbird-RC/sunbird-rc-core/pull/319
We need to have a revamp of the logic on how we are handling the vertex to build JSONObject. Because we will have to dwell into the logic, on how it is implemented and come up with an action plan.
What is the bug related to?
Registry Core
What went wrong?
When array type property is used in attestation properties, it throws error after attestation is raised.
Cause: It deletes the properties from array property. On empty array property it is reading it as object instead of array.
What did you expect to see?
A bug should not have happened, instead ...
Additional Context
No response
Relevant logs/output (if any)
No response