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

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

XMLWordPrintable

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

      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?

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

                Created:
                Updated:
                Resolved: