Closed lgalke closed 6 years ago
I suppose the question was rather directed at Anne. Anyway, the idea for the embodimentType was that it can be specified, but doesn't have to be specified for all resource types.
No, it's not the embodiment type. It's the Crossref resource types this message is about (enum: resourceType). The COLLECTION type just does not exist here, therefore it is not going to be available anymore. A suitable type is for example BOOK_CHAPTER. But there are going to be more changes which were discussed on Thursday.
Ah I was not aware that these changes would affect file upload already now. Did not intend to bother you when you are in the middle of changes. For now I will then replace COLLECTION
with BOOK_CHAPTER
in case of the file upload?
I was checking the files below, which still hold the old possible enum values.
No problem. The master branch just didn't have the changes until today morning as this one is always the productive version and therefore will be merged with a delay. Your solution looks fine for now.
Okay, thanks 👍
Uploading fails for collections due to
No enum match for: COLLECTION
:Checking your code, I assume that the new corresponding enum will be
embodimentType
such that we have currentMONOGRAPH
,COLLECTION
mapped toPRINT
and elseDIGITAL
?The Monograph upload still works somewhat surprisingly.