cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with versioning video through client automation.

maumig_
Confirmed Champ
Confirmed Champ

I maintain versioning through automation client as follows:

StreamBlob streamBlob = new StreamBlob (is, fileName, assetMimeType);
session.newRequest ("Blob.Attach"). SetHeader (Constants.HEADER_NX_VOIDOP, "true"). SetInput (streamBlob.) set ("document", origDoc). execute ();


Document versionedDocument = ds.createVersion (origDoc, "Major");

When I try to do the revert (via csession.restoreToVersion ()) to a particular version, I do not find the transcodedVideos.

Why? Any suggestions?

Note: I tried to set the parent asset transcodedVideos versions but it blocks the exception VersionNotModifiable

1 REPLY 1

Florent_Guillau
World-Class Innovator
World-Class Innovator

What Nuxeo version did you use? This should be fixed since NXP-13587 (Nuxeo 5.8.0-HF07, Nuxeo 5.9.2).