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

filetypes: redetectAll? #6355

Open
donsizemore opened this issue Nov 8, 2019 · 0 comments
Open

filetypes: redetectAll? #6355

donsizemore opened this issue Nov 8, 2019 · 0 comments

Comments

@donsizemore
Copy link
Contributor

The upgrade instructions for 4.15 tell us to re-detect filetypes with the upgraded Jhove in place, but the API endpoint wants a file ID: http://guides.dataverse.org/en/latest/api/native-api.html#redetect-file-type

datafile.contenttype may not be NULL though I do see values of 'document/unknown' or 'text/unknown' I could select out.

Phil pointed me to https://github.com/IQSS/dataverse/blob/v4.17/src/main/java/propertyFiles/MimeTypeDetectionByFileExtension.properties but, even once we upgrade to 4.17, would it be beneficial for users to call redetectAll?

I could see this being of use as Dataverse makes more use of external tools.

p.s. You're allowed to tell me "no."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant