Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Derivatives-originals report is broken in select cases such as Dataverse derivatives #52

Open
ross-spencer opened this issue Sep 17, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@ross-spencer
Copy link
Contributor

When trying to access derivative information some storage services are returning an AttributeError where .file_fomat is None.

@ross-spencer ross-spencer self-assigned this Sep 17, 2020
@ross-spencer
Copy link
Contributor Author

ross-spencer commented Sep 17, 2020

The first cause of this issue, I believe may be down to certain transfer types having different derivation types, so Dataverse has a fileGrp USE of derivative which is created from their tabular imports. Preservation copies have preservation which I think we already deal with, and access copies have no visible output in the AIP METS so I don't know if there are more to capture, but let's start with this and see...

    <mets:fileGrp USE="derivative">
      <mets:file GROUPID="Group-20439035-0516-4bbc-9ab9-fd4a4c56033f" ID="file-eca9811b-e240-4372-b7a7-f4eda44c0d8f" ADMID="amdSec_2">
        <mets:FLocat xlink:href="objects/afternoon-snacks-1.RData" LOCTYPE="OTHER" OTHERLOCTYPE="SYSTEM"/>
      </mets:file>
      <mets:file GROUPID="Group-20439035-0516-4bbc-9ab9-fd4a4c56033f" ID="file-953418f2-fce3-4e78-817c-c8123c835351" ADMID="amdSec_4">
        <mets:FLocat xlink:href="objects/afternoon-snacks-1.tab" LOCTYPE="OTHER" OTHERLOCTYPE="SYSTEM"/>
      </mets:file>
    </mets:fileGrp>

@tw4l
Copy link
Contributor

tw4l commented Jun 8, 2021

This issue is resolved for preservation files with no associated original files due to a refactor in d45d11e. I think the issue discussed above with fileGrp USE is separate but worth keeping on our radar, so I am leaving this issue open for now.

@tw4l tw4l changed the title Derivatives-originals report is broken in select cases Derivatives-originals report is broken in select cases such as Dataverse derivatives Jul 7, 2021
@mcantelon mcantelon added the bug Something isn't working label Nov 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants