Sunbird-RC / community

Repo to enable discussions, issue tracking & documentation for the Sunbird-RC projects
MIT License
12 stars 23 forks source link

[BUG]: Array type property not working for attestation #975

Open holashchand opened 8 months ago

holashchand commented 8 months ago

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

Sreejit-K commented 6 months ago

https://github.com/Sunbird-RC/sunbird-rc-core/pull/319

Sreejit-K commented 5 months ago

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.