vocdoni / interoperability

Private repository to manage the interoperability between protocol, API, SDK, UIs and documentation
1 stars 0 forks source link

Archive buggy behavior #110

Closed elboletaire closed 3 weeks ago

elboletaire commented 9 months ago

The archive is not recovering any metadata and, instead, generates an object with the id of the organization as its name:

{
  "name": {
    "default": "0x38d2BC91B89928f78cBaB3e4b1949e28787eC7a3"
  }
}

This is not a correct behavior, since one of the checks to see if an account is actually an existing organization is to check its title length is > 0 (I'm speaking about the UI, but it's a decision we agreed on months ago).

Considering the behavior of the archive is that these accounts do not exist, I don't think we should be populating any metadata at all when importing archived accounts.