-
Notifications
You must be signed in to change notification settings - Fork 634
Closed
Labels
bugThis issue is a bug.This issue is a bug.closed-for-stalenessp2This is a standard priority issueThis is a standard priority issueresponse-requestedWaiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.
Description
Checkboxes for prior research
- I've gone through Developer Guide and API reference
- I've checked AWS Forums and StackOverflow.
- I've searched for previous similar issues and didn't find any solution.
Describe the bug
I have a cloud directory populated with objects having parent child links established which have been validated using ListObjectParentsCommand
and here is the output:
{
"$metadata": {
"httpStatusCode": 200,
"requestId": "51f529a4-************b247, 51f529a4-4f02-**********b247",
"attempts": 1,
"totalRetryDelay": 0
},
"Parents": {
"AQFm3Vsv****************TKYXtAnmjvlZQ": "mgr-uid0004-uid0008"
}
}
But when executing ListObjectParentPathsCommand
for the same object the response is an empty list
const listObjParentPathsCmd = new ListObjectParentPathsCommand({
DirectoryArn: DIRECTORY_ARN,
MaxResults: 5,
ObjectReference: {
Selector: '$AQFm3VsvYc*************yyLuxQmAzXHQ',
},
});
{
"$metadata": {
"httpStatusCode": 200,
"requestId": "1dc2b32e-**************03b82c01c38a, 1dc2b32e-************03b82c01c38a",
"attempts": 1,
"totalRetryDelay": 0
},
"PathToObjectIdentifiersList": []
}
Regression Issue
- Select this option if this issue appears to be a regression.
SDK version number
@aws-sdk/[email protected]
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
Node 22
Reproduction Steps
- Create a directory
- Populate with objects
- Attach parent links to objects
- Execute
ListObjectParentPathsCommand
on one of the objects containing parent link
Observed Behavior
PathToObjectIdentifiersList
is an empty array
Expected Behavior
PathToObjectIdentifiersList
should contain list of objects with this shape:
{
"ObjectIdentifiers": [ "string" ],
"Path": "string"
}
Possible Solution
No response
Additional Information/Context
No response
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.closed-for-stalenessp2This is a standard priority issueThis is a standard priority issueresponse-requestedWaiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.