Troubles during the creation of an asset with the "Client API automation."

With the following sequence:

  1. Document.Create
  2. Blob.Attach
  3. DocumentService getAsset
  4. DocumentService update
  5. DocumentService getAsset

in cases not deterministically reproducible, asset downloaded in step 5 does not contain the blob of point 2.

Do you have any suggestions?

Thanks in advance

0 votes

0 answers

1157 views

ANSWER

You haven't told us what Nuxeo version you're using.
12/09/2013

5.7.2

Tnx

01/08/2014

Step 5 is "DocumentService getAsset ", what is it? Custom code? There is no "getAsset" method on the DocumentService
01/13/2014

Sorry :)

DocumentService - getDocument(idAsset);

01/13/2014

What type of document are you creating? Which Blob are you setting on the document? The main one? Is it the Blob you attached that you cannot retrieve, or some other Blob that should be generated?
01/13/2014

It's a Video and I work and refer to the main Blob.
01/13/2014