Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Disable caching of generated properties
  • Loading branch information
escowles committed Sep 10, 2014
1 parent 5ccb385 commit ae40562
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Expand Up @@ -138,11 +138,6 @@ public Document getDocumentById(final String id) {
decorateContentNode(docReader, docWriter, fileFor(id));
}

// Persist new properties (if allowed)
if (shouldCacheProperties()) {
saveProperties(docReader);
}

return docWriter.document();
}

Expand Down
Expand Up @@ -16,6 +16,7 @@
package org.fcrepo.integration.connector.file;

import org.fcrepo.kernel.FedoraResource;
import org.junit.Ignore;
import org.junit.Test;

import javax.jcr.Node;
Expand Down Expand Up @@ -47,6 +48,7 @@ protected String testFilePath() {
return "/" + federationName() + "/repo.xml";
}

@Ignore
@Test
public void verifyThatPropertiesAreExternal() throws RepositoryException {
final Session session = repo.login();
Expand Down

0 comments on commit ae40562

Please sign in to comment.