Skip to content

Manual Refresh Needed After Using 'Duplicate to' in Umbraco #17735

@martinthogersen

Description

@martinthogersen

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

14.3.1

Bug summary

When using the "Duplicate to" feature to create a copy of a document under a new parent, I must manually reload the list of pages from the target parent to see the duplicated document.

In the Chrome network panel, the following requests are observed:

  1. HTTP POST to /umbraco/management/api/v1/document/8a9723f0-50ae-4dde-a7e9-bc2b682f6fff/copy

Payload:

{
  "target": {
    "id": "13bb0a1f-525a-4a73-ac5f-55ce8134cb8b"
  }
}

This request successfully creates the duplicate document.

  1. HTTP GET to /umbraco/management/api/v1/tree/document/children?parentId=3f359acd-1c60-4b86-9a87-d21fffd45d74&skip=0&take=50

This retrieves the document list for the parentId: 3f359acd-1c60-4b86-9a87-d21fffd45d74, which is the parent of the source document, not the target.

Ideally, Umbraco should refresh the document list for the target parent (13bb0a1f-525a-4a73-ac5f-55ce8134cb8b). Since this does not happen, I am required to manually refresh the document list to view the new copy.

Specifics

No response

Steps to reproduce

  1. Navigate to the Content section in Umbraco.
  2. Select a document and select Duplicate to.
  3. Choose a different parent for the duplicated document and confirm.
  4. Observe that the duplicated document does not appear under the new parent.
  5. Manually refresh the document list under the target parent to see the duplicated document.

Expected result / actual result

No response


This item has been added to our backlog AB#47495

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions