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

Use VersionManager#checkpoint instead of VersionManager#checkin

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 5.6.0
    • None
    • None

    Description

      Currently, org.onehippo.repository.documentworkflow.task.VersionVariantTask#doExecute leaves the preview node checked in. We have all over the place invocations of org.hippoecm.repository.util.JcrUtils#ensureIsCheckedOut

      Much easier to use VersionManager#checkpoint which does a checkout after checkin...which we always need in practice

      Note that all existing code for org.hippoecm.repository.util.JcrUtils#ensureIsCheckedOut is still need for backwards compatibility because preview nodes can already be checked in

      Attachments

        Activity

          People

            Unassigned Unassigned
            aschrijvers Ard Schrijvers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: