Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-1983

VersionsCleaner script runs non-document nodes, produces IndexOutOfBoundsException

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Low
    • Resolution: Fixed
    • None
    • 5.4.0
    • None
    • None
    • 0.5
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: