Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

includeUserMetadata of listObjects doesn't work (Java SDK 8.4.5 or higher) #1436

Closed
Flotschili opened this issue Apr 6, 2023 · 1 comment · Fixed by #1437
Closed

includeUserMetadata of listObjects doesn't work (Java SDK 8.4.5 or higher) #1436

Flotschili opened this issue Apr 6, 2023 · 1 comment · Fixed by #1437

Comments

@Flotschili
Copy link

Expected Behavior

When executing the listObjects() method with the includeUserMetadata parameter set to true, the method should return user-specific metadata associated with the objects in the specified bucket. However, currently, the user-specific metadata is not being returned by the method, despite the metadata being present in the MinIO Console.

Expected Result:

The listObjects() method should return a list of objects in the specified bucket, including the user-specific metadata associated with each object.

Actual Result:

The listObjects() method returns a list of objects in the specified bucket, but the user-specific metadata associated with each object is null.

Affected SDK versions

Java SDK 8.4.5 or higher

Temporary Fix

I downgraded to Java SDK version 8.4.4

Enviroment

Java Version 17 (Temurin)
Windows 10
MinIO Buckets with versioning enabled

minIO Server

Problem occours on:
"https://play.min.io"
minIO Docker (Version: 2023-03-24T21:41:23Z)

Context

My usecase is to store additional IDs to the files uploaded to MinIO. When listing all the objects, i need to retreive this information in order to link the file to data from other sources.

@klauspost klauspost transferred this issue from minio/minio Apr 6, 2023
@klauspost
Copy link

Could be the same issue as this: minio/minio-go#1795

balamurugana added a commit to balamurugana/minio-java that referenced this issue Apr 6, 2023
…inio#1369)"

This reverts commit f909b02.

Fixes minio#1436

Signed-off-by: Bala.FA <bala@minio.io>
harshavardhana pushed a commit that referenced this issue Apr 6, 2023
…1369)" (#1437)

This reverts commit f909b02.

Fixes #1436

Signed-off-by: Bala.FA <bala@minio.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants