You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ultimately, the S3 store uses instances of S3ObjectId to identify and place content. It is therefore also possible to create S3 stores using this type as the @ContentID type.
But... when I change type object (String -> S3ObjectId)... I get an exception: org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [java.util.UUID] to type [com.amazonaws.services.s3.model.S3ObjectId]
The text was updated successfully, but these errors were encountered:
I suspect you are hitting this because when using S3ObjectId as the @ContentId you are responsible for populating this yourself. This isn't clear in the docs so if it turns out to be this then we'll update the docs to be clearer.
Can you give that a go pls? Or does that not work for you in which case we might be abl to auto-generate an S3ObjectId by registering a custom S3ObjectIdReolver?
@ContentID you are responsible for populating this yourself.
Ahhh... Now I understand. Thanks for your reply.
Can you give that a go pls? Or does that not work for you in which case we might be abl to auto-generate an S3ObjectId by registering a custom S3ObjectIdReolver?
Generating unique UUID (@ContentID + String) - is fine by me.
I was just wondering about the logic of this annotation with S3ObjectId, how it works.
Hi Paul.
Thank you so much for your hard work.
From API reference
My dependencies
But... when I change type object (String -> S3ObjectId)... I get an exception:
org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [java.util.UUID] to type [com.amazonaws.services.s3.model.S3ObjectId]
The text was updated successfully, but these errors were encountered: