Author: rhauch
Date: 2009-06-03 16:26:37 -0400 (Wed, 03 Jun 2009)
New Revision: 970
Modified:
trunk/dna-jcr/src/main/java/org/jboss/dna/jcr/JcrEngine.java
Log:
DNA-389 Corrected the JcrEngine's code that obtained a too-shallow subgraph of the
configuration repository, so that it obtains a sufficiently deep subgraph.
Modified: trunk/dna-jcr/src/main/java/org/jboss/dna/jcr/JcrEngine.java
===================================================================
--- trunk/dna-jcr/src/main/java/org/jboss/dna/jcr/JcrEngine.java 2009-06-03 20:10:19 UTC
(rev 969)
+++ trunk/dna-jcr/src/main/java/org/jboss/dna/jcr/JcrEngine.java 2009-06-03 20:26:37 UTC
(rev 970)
@@ -103,7 +103,7 @@
Path repositoriesPath = pathFactory.create(configuration.getPath(),
DnaLexicon.REPOSITORIES);
Path repositoryPath = pathFactory.create(repositoriesPath, repositoryName);
Graph configuration = getConfigurationGraph();
- Subgraph subgraph = configuration.getSubgraphOfDepth(3).at(repositoryPath);
+ Subgraph subgraph = configuration.getSubgraphOfDepth(6).at(repositoryPath);
// Read the options ...
Node optionsNode = subgraph.getNode(DnaLexicon.OPTIONS);
Show replies by date