Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2292

Unable to restart a repository after registering index definitions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 4.0.0.Beta2
    • 4.0.0.Beta1
    • JCR, Query
    • None

    Description

      When *re*starting a repository after at least one index definition has been defined, the index definitions cannot be effectively read. Reading the nodes under "/jcr:system/mode:indexes" results in the following exception:

      javax.jcr.RepositoryException: No valid property definition on node '/jcr:system/mode:indexes/local/ntusysname' with primary type 'mode:index' and mixin types [] for the property: mode:kind="VALUE"
      	at org.modeshape.jcr.AbstractJcrNode.findJcrProperties(AbstractJcrNode.java:2035)
      	at org.modeshape.jcr.AbstractJcrNode.getProperties(AbstractJcrNode.java:2043)
      	at org.modeshape.jcr.JcrSystemNode.getProperties(JcrSystemNode.java:25)
      	at org.modeshape.jcr.api.JcrTools.printSubgraph(JcrTools.java:555)
      

      There is a bug in the "modeshape-builtins.cnd" file, and the index-related node types do not match the structure written to the repository when index definitions are registered.

      This prevents a repository from properly restarting.

      Attachments

        Activity

          People

            rhauch Randall Hauch (Inactive)
            rhauch Randall Hauch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: