Thumbnail Generation after update main picture

Hi,

I am using the REST API to upload image on Nuxeo via BatchUpload as Picture type. After the upload the thumbnails are correctly created. The issue is when i update the document with another file image because it changes for the document but the new thumbnails are not created. What could it be the problem?

Other information:

I update the document with a new batchid after its uplodad.

"file:content": {
      "upload-batch":"<myBatchId>",
      "upload-fileId":"0"

Using The get API, Nuxeo answers with random thumbnail among the old files. For instance: if I attached first a Ferrari image, then a Kavasaki image, then again an image of sea, in picture:view at different get call, different thumbnails are returned (among ferrari kavasaki and the sea) .

Can I check The Thumbnail listener?

Thank you in advance,

Update: The issue is no update of database (no commit on database). I have different data between get REST API (i think any cache) and database data after upload. Database used Oracle. Any Idea? No error in log.

can it be this bug? https://jira.nuxeo.com/browse/NXP-14740

Antonio

0 votes

0 answers

2148 views

ANSWER