qri-io / 2017-frontend

qri electron & web frontend
https://qri.io
MIT License
23 stars 7 forks source link

metadata editor issues when submitting and array of structs #328

Closed ramfox closed 6 years ago

ramfox commented 6 years ago

citation error: "error parsing metadata json: error unmarshling dataset: json: cannot unmarshal string into Go struct field _metadata.citations of type dataset.Citation" type Citation struct { Name string json:"name,omitempty" URL string json:"url,omitempty" Email string json:"email,omitempty" }

But our metadata editor isn't modeled that way

5) contributor, same error: type User struct { ID string json:"id,omitempty" Fullname string json:"name,omitempty" Email string json:"email,omitempty" }

ALSO

submitting 'tags' returns with an error : 'no changes detected' and the local version of meta is somehow used in the meta tabpanel. Most likely because tags are actually called keywords on the backend

ALSO

if you make a change in the metadata editor page, then navigate away, those changes are still present, even if you don't save