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

    • Type: New Feature
    • 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:
      1
    • Processed by team:
      Turing
    • Sprint:
      Turing Team 187, Turing Sprint 190, Turing Sprint 189

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: