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

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.6.0
    • Component/s: None
    • Labels:
      None
    • Similar issues:
    • Story Points:
      0
    • Processed by team:
      Turing
    • Sprint:
      Turing Sprint 181

      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

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

              Dates

              • Created:
                Updated:
                Resolved: