This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

CK - Utilities - File Version issue

Hello,

After installing the latest Compliance Kit, I have an issue with File Version functionality. 

This is the error I receive when trying to create or update a document which need File Version to be updated:

CoScriptObjectFactory.cpp, 465, Script execution failed. ((AfterCreateNewObjectFinalize::MFiles.ComplianceKit.MFEventHandlerAfterCreateNewObjectFinalize: 7043-1)) (0x800408BB)
ScriptErrorHelper.cpp, 96, Script execution failed. ((AfterCreateNewObjectFinalize::MFiles.ComplianceKit.MFEventHandlerAfterCreateNewObjectFinalize: 7043-1)) (0x800408BB)
MDispatchExImpl.h, 694, Script execution failed. ((AfterCreateNewObjectFinalize::MFiles.ComplianceKit.MFEventHandlerAfterCreateNewObjectFinalize: 7043-1)) (0x800408BB)
MDispatchExImpl.h, 994, Script execution failed. ((AfterCreateNewObjectFinalize::MFiles.ComplianceKit.MFEventHandlerAfterCreateNewObjectFinalize: 7043-1)) (0x800408BB)
MetadataCardAction.cpp, 386, Script execution failed. ((AfterCreateNewObjectFinalize::MFiles.ComplianceKit.MFEventHandlerAfterCreateNewObjectFinalize: 7043-1)) (0x800408BB)
MetadataCardAction.cpp, 570, Script execution failed. ((AfterCreateNewObjectFinalize::MFiles.ComplianceKit.MFEventHandlerAfterCreateNewObjectFinalize: 7043-1)) (0x800408BB)
MetadataEditor.cpp, 2959, Script execution failed. ((AfterCreateNewObjectFinalize::MFiles.ComplianceKit.MFEventHandlerAfterCreateNewObjectFinalize: 7043-1)) (0x800408BB)
MetadataModel.cpp, 4254, Script execution failed. ((AfterCreateNewObjectFinalize::MFiles.ComplianceKit.MFEventHandlerAfterCreateNewObjectFinalize: 7043-1)) (0x800408BB)
MetadataModel.cpp, 5079, Script execution failed. ((AfterCreateNewObjectFinalize::MFiles.ComplianceKit.MFEventHandlerAfterCreateNewObjectFinalize: 7043-1)) (0x800408BB)
CoVaultMountingDocumentOperations.cpp, 192, Script execution failed. ((AfterCreateNewObjectFinalize::MFiles.ComplianceKit.MFEventHandlerAfterCreateNewObjectFinalize: 7043-1)) (0x800408BB)
CoVaultMountingDocumentOperations.cpp, 404, Script execution failed. ((AfterCreateNewObjectFinalize::MFiles.ComplianceKit.MFEventHandlerAfterCreateNewObjectFinalize: 7043-1)) (0x800408BB)
DocumentCache.cpp, 1284, Script execution failed. ((AfterCreateNewObjectFinalize::MFiles.ComplianceKit.MFEventHandlerAfterCreateNewObjectFinalize: 7043-1)) (0x800408BB)
DocumentCache.cpp, 4861, Script execution failed. ((AfterCreateNewObjectFinalize::MFiles.ComplianceKit.MFEventHandlerAfterCreateNewObjectFinalize: 7043-1)) (0x800408BB)
DocumentCache.cpp, 4974, Script execution failed. ((AfterCreateNewObjectFinalize::MFiles.ComplianceKit.MFEventHandlerAfterCreateNewObjectFinalize: 7043-1)) (0x800408BB)
DocumentCache.cpp, 5214, Script execution failed. ((AfterCreateNewObjectFinalize::MFiles.ComplianceKit.MFEventHandlerAfterCreateNewObjectFinalize: 7043-1)) (0x800408BB)
RPCMethodCallWithRetry.h, 36, Script execution failed. ((AfterCreateNewObjectFinalize::MFiles.ComplianceKit.MFEventHandlerAfterCreateNewObjectFinalize: 7043-1)) (0x800408BB)
RPCMethodCallWithRetry.h, 36, Script execution failed. ((AfterCreateNewObjectFinalize::MFiles.ComplianceKit.MFEventHandlerAfterCreateNewObjectFinalize: 7043-1)) (0x800408BB)
RPCDocumentOperations.cpp, 13729, Script execution failed. ((AfterCreateNewObjectFinalize::MFiles.ComplianceKit.MFEventHandlerAfterCreateNewObjectFinalize: 7043-1)) (0x800408BB)
RPCDocumentOperations.cpp, 8619, Script execution failed. ((AfterCreateNewObjectFinalize::MFiles.ComplianceKit.MFEventHandlerAfterCreateNewObjectFinalize: 7043-1)) (0x800408BB)
MCallInLoop.h, 712, Script execution failed. ((AfterCreateNewObjectFinalize::MFiles.ComplianceKit.MFEventHandlerAfterCreateNewObjectFinalize: 7043-1)) (0x800408BB)
RPCDocumentOperationsHelper.cpp, 843, Script execution failed. ((AfterCreateNewObjectFinalize::MFiles.ComplianceKit.MFEventHandlerAfterCreateNewObjectFinalize: 7043-1)) (0x800408BB)
VaultDBSessionEvents.cpp, 315, Script execution failed. ((AfterCreateNewObjectFinalize::MFiles.ComplianceKit.MFEventHandlerAfterCreateNewObjectFinalize: 7043-1)) (0x800408BB)
VaultDBSessionEvents.cpp, 1602, Script execution failed. ((AfterCreateNewObjectFinalize::MFiles.ComplianceKit.MFEventHandlerAfterCreateNewObjectFinalize: 7043-1)) (0x800408BB)
VaultScriptSessionTemplates.cpp, 269, Script execution failed. ((AfterCreateNewObjectFinalize::MFiles.ComplianceKit.MFEventHandlerAfterCreateNewObjectFinalize: 7043-1)) (0x800408BB)
VaultScriptSessionTemplates.cpp, 328, Script execution failed. ((AfterCreateNewObjectFinalize::MFiles.ComplianceKit.MFEventHandlerAfterCreateNewObjectFinalize: 7043-1)) (0x800408BB)
VaultScriptSessionTemplates.cpp, 328, The action was denied because the property "File Version" was not updated correctly. To fix the issue, change event handler execution order. (0x80131600)
VaultScriptSessionTemplates.cpp, 510, The action was denied because the property "File Version" was not updated correctly. To fix the issue, change event handler execution order. (0x80131600)
CoActiveScriptSite.cpp, 895, The action was denied because the property "File Version" was not updated correctly. To fix the issue, change event handler execution order. (0x80131600)
CoActiveScriptSite.cpp, 737, The action was denied because the property "File Version" was not updated correctly. To fix the issue, change event handler execution order. (0x80131600)
AfterCreateNewObjectFinalize::MFiles.ComplianceKit.MFEventHandlerAfterCreateNewObjectFinalize, 22, The action was denied because the property "File Version" was not updated correctly. To fix the issue, change event handler execution order. (0x80131600)
CoDynamicCLRObjectWrapper.cpp, 552, The action was denied because the property "File Version" was not updated correctly. To fix the issue, change event handler execution order. (0x80131600)
CoDynamicCLRObjectWrapper.cpp, 322, The action was denied because the property "File Version" was not updated correctly. To fix the issue, change event handler execution order. (0x80131600)
ManagedError.cpp, 150, The action was denied because the property "File Version" was not updated correctly. To fix the issue, change event handler execution order. (0x80131600)
VaultApplicationBase.cs, 266 (IL:45), The action was denied because the property "File Version" was not updated correctly. To fix the issue, change event handler execution order. (0x80131600)
VaultApplicationBase.cs, 831 (IL:82), The action was denied because the property "File Version" was not updated correctly. To fix the issue, change event handler execution order. (0x80131600)
MethodInfo.cs, 229 (IL:105), The action was denied because the property "File Version" was not updated correctly. To fix the issue, change event handler execution order. (0x80131600)
UtilitiesModule.cs, 416 (IL:368), The action was denied because the property "File Version" was not updated correctly. To fix the issue, change event handler execution order. (0x80131600)
(M-Files 21.11.10853.6)

This error is thrown in both "AfterCreatenewObjectFinalize" and "AfterCheckInFinalize" event handlers.

In both event handlers, the CK event handlers are the last in the lists.

If I disable the event handlers, I do not receive this error anymore.

Any idea how to troubleshoot this?

Regards,

Radu

Parents
  • Well I fixed the issue, by creating a new File Version property definition, and renaming the old File Version alias.

    It is not an elegant solution, as for I do not understand why this happened.

    For every new class I added in the File Version CK settings, it worked fine. Only with what was already setup before the upgrade to the new CK version, that do not work.

  • Issue with File Version was fixed in Compliance Kit December '21 SR2.

    I though I resolved the issue, as states above, but it was not the case.

Reply Children
No Data