Highlighted
Super Contributor.. Super Contributor..
Super Contributor..
79 views

CM9.4 transfer storage

Hi,

we were using CM9.4 patch 1 , found strange behavior with Transfer storage.

1. we did manually moved the record store  (record-> rightclick->electronic->Transfer Storage), it worked very well and the record attachment moved to a different store.

2. we did the same transfer storage using SDK.

        Record resultRecord = new Record(Dbase, new TrimURI(_uri));

        ElectronicStore eoldStore = resultRecord.EStore;

        resultRecord.TransferStorage(eDocStore, true);

       resultRecord.Save();

     the above code is working perfectly in RM 8.1. in CM 9.4 it is behaving strangely, the results are not consistent.

       1. first time when we executed the code , the methods return successful message, but actual the record is not transferred.

    2. second time when we executed the code for the same record again got the below error message

         while file processing..... : HP.HPTRIM.SDK.TrimException: Content Manager Workgroup Server on            'local' reported an error. Document Store operation failed because the document store has                           insufficient capacity.

         the document store has lot of space in the disk.

 3 . Attachment is missing for the same record, it is moved to a different folder.

Any idea is it a bug or SDK change.

thanks,

Sarath.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.