Problems with versioning video through client automation.

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

0 votes

1 answers



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

0 votes