NCEAS / recordr

Provenance tracking for R.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Added EML validity check in putMetadata()

gothub opened this issue · comments

getMetadata() allows the user to edit metdata created for a run, which is replaced using putMetadata()

An EML validity check should be added to verity the document before it is inserted back into
the recordr cache. Also, there should be a check to ensure that the user is replacing the
right eml into the right run. The 'metadataId' for an execution could be inserted into the EML
document and then checked when the document is re-inserted.

This check was added in commit dba47cb