samvera/ldp

save! always raises a GraphDifferenceException

Closed this issue · 2 comments

Even when a save() is successful, it returns a diff like this:

<http://localhost:8983/fedora/rest/foo> <http://fedora.info/definitions/v4/repository#created> "";
  <http://fedora.info/definitions/v4/repository#lastModified> "" .

which causes GraphDifferencException to be thrown.

Should we exclude these predicates from RdfResource.check_for_differences_and_reload_resource?

I suspect fcrepo4 is doing the wrong thing, I'll take a look.