Skip to content

Commit

Permalink
make sure to save datastream creating session..
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Jan 18, 2013
1 parent 66aa680 commit 32fa275
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -144,6 +144,7 @@ private Node addDatastreamNode(final String dspath,
ds.setProperty("fedora:content", session.getValueFactory()
.createBinary(requestBodyStream));
ds.setProperty("jcr:lastModified", Calendar.getInstance());
session.save();
return ds;
}

Expand Down

0 comments on commit 32fa275

Please sign in to comment.