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

Support branchId for all workflow methods that require so

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 5.6.0
    • None
    • None

    Description

      We indicated that the following methods need to become branch aware:

      • obtainEditableInstance
      • rename
      • publish
      • depublish
      • copy
        and implement the added methods in DocumentWorkflowImpl

      This way, for example #obtainEditableInstance() would automatically first check out master, and if obtainEditableInstance is needed for a branch, one need to call

      obtainEditableInstance(branchId)
      

      For example copy should also be able to copy a certain branch! On the handle we need to reset the 'branches' list and remove the version history property

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: