AddInFramework calls with enum array out parameters throw exception: Object cannot be stored in an array of this type.

AddInFramework calls with enum array out parameters throw exception: Object cannot be stored in an array of this type.

Summary

The following api methods now work correctly in the Addin Framework:

- IRuntimeArchiveFilter.QueryBlock(out string[] projectName, out int[] ids, out AggregationType[] aggregationTypes, out object[] values)

- IRuntimeArchiveFilter.GetFilterVariablesInfo(out int count, out int[] ids, out string[] names, out string[] projectNames, out AggregationType[] aggregationTypes)

Description

The following api methods now work correctly in the Addin Framework:

- IRuntimeArchiveFilter.QueryBlock(out string[] projectName, out int[] ids, out AggregationType[] aggregationTypes, out object[] values)

- IRuntimeArchiveFilter.GetFilterVariablesInfo(out int count, out int[] ids, out string[] names, out string[] projectNames, out AggregationType[] aggregationTypes)

Information

use a different way to retrieve the required information (e.g. there's another overload of QueryBlock which doesn't have the problematic aggregationTypes parameter)

Bypass the AddInFramework by making the calls directly via zenon.interop



Issue Number: 182545
Fixed on Date: 17.5.2019
Versions: 8.10 0 BUILD 59911