Blobs Getting Filesize 0 When Updating Assets Twice Through Asset API

(Doc ID 1669741.1)

Last updated on JULY 07, 2017

Applies to:

Oracle WebCenter Sites - Version and later
Information in this document applies to any platform.


When updating an asset using the Asset API, if you update the same asset twice using the same MutableAssetData, any blobs attached to the asset are saved as 0-byte files, even if you aren't updating the blobs.

Below is some sample code illustrating the problem.



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms