Uploaded image for project: 'Hippo Repository'
  1. Hippo Repository
  2. REPO-1983

VersionsCleaner script runs non-document nodes, produces IndexOutOfBoundsException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4.0
    • Labels:
      None
    • Similar issues:
    • Story Points:
      0.5
    • Processed by team:
      Platform
    • Sprint:
      Platform 183

      Description

      The versions cleaner script has as query //element(*, mix:versionable) so it selects not only documents but also nodes below /hippo:configuration and /hst:hst. If that is not the intent (?), we can select more narrowly.

      Also it produces "java.lang.IndexOutOfBoundsException: Index: 0, Size: 0" if there is nothing to remove but still remove(0) is called.

      See VersionsCleaner.log on an archetype Hippo 12.2 project.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jhoffman Jeroen Hoffman
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: