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

Indexes defined in "/jcr:system/mode:indexes" don't reflect ModeShape configuration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • 4.2.0.Final
    • 4.1.0.Final
    • None
    • None

    Description

      I've noticed that index definition nodes in "/jcr:system/mode:indexes" accumulate over time: they get created based on ModeShape (XML) configuration but they are not deleted when they're removed from the configuration.

      (Should it matter, I've applied patches for MODE-2392 and MODE-2393).

      And deleting obsolete index definition nodes in "/jcr:system/mode:indexes" is forbidden, e.g.:

      Unable to remove the '/jcr:system/mode:indexes/local-index-provider' node in workspace "default" becasue the node is within the '/jcr:system' area","stacktrace":"javax.jcr.nodetype.ConstraintViolationException: Unable to remove the '/jcr:system/mode:indexes/local-index-provider' node in workspace "default" becasue the node is within the '/jcr:system' area

      So what's the proper way to alter index definitions in ModeShape?

      Attachments

        Activity

          People

            Unassigned Unassigned
            dalbani Damiano Albani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: