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

Deserialisation doesn't work with translated attribution #177

Open
cmahnke opened this issue Jan 18, 2022 · 1 comment
Open

Deserialisation doesn't work with translated attribution #177

cmahnke opened this issue Jan 18, 2022 · 1 comment

Comments

@cmahnke
Copy link

cmahnke commented Jan 18, 2022

See this manifest:

"attribution" : {
        "de" : [
            "Georg-August Universität Göttingen"
        ],
        "en" : [
            "Goobi viewer"
        ]
    }

The IiifObjectMapper fails with:

com.fasterxml.jackson.databind.JsonMappingException: (was java.lang.NullPointerException) (through reference chain: de.digitalcollections.iiif.model.sharedcanvas.Manifest["attribution"])

This certainly related to different minor versions of the IIIF Presentation API 2.x.

@cmahnke
Copy link
Author

cmahnke commented Jan 21, 2022

It seem's that the manifest is wrong, see. I'm currently asking our vendor for clarification...

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