-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
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:
- 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.
- 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
- Navigate to the Content section in Umbraco.
- Select a document and select Duplicate to.
- Choose a different parent for the duplicated document and confirm.
- Observe that the duplicated document does not appear under the new parent.
- 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