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

Round trip (load-save) causes a 500 error. #21

Closed
jcoyne opened this issue Apr 18, 2014 · 0 comments
Closed

Round trip (load-save) causes a 500 error. #21

jcoyne opened this issue Apr 18, 2014 · 0 comments

Comments

@jcoyne
Copy link
Member

jcoyne commented Apr 18, 2014

This is caused by the default prefer header being: Prefer: return=representation

     Ldp::SaveException:
       STATUS: 500 org.fcrepo.kernel.exception.MalformedRdfException: Could not persist triple containing type assertion:http://www.jcp.org/jcr/nt/1.0hierarchyNode because no such mixin/type can be added to this node: /8e/1c/86/45!
        at org.fcrepo.kernel.utils.iterators.RdfAdder.operateOnMixin(RdfAdder.java:72)
        at org.fcrepo.kernel.utils.iterators.PersistingRdfStreamConsumer.operateOnTriple(PersistingRdfStreamConsumer.java:133)

A potential solution is to have the default prefer heading be Prefer: return=minimal

@jcoyne jcoyne closed this as completed Jan 23, 2015
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