Code Fix: An error occurs when executing SmartObjects that are bound to a Composite SmartObject
Issue Description
An error occurs in a view or a form when you execute a SmartObject that are bound to a Composite SmartObject.
Error Message
The following error occurs: “Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index”.
Resolution
The fix is available in the following K2 versions:
K2 4.7 December 2019 Cumulative Update | K2 Five (5.0) December 2019 Cumulative Update | K2 Five (5.1) November 2018 Cumulative Update | K2 Five (5.2) May 2019 Cumulative Update | K2 Five (5.3) April 2020 Cumulative Update | K2 Platform Classic(5.4) |
---|---|---|---|---|---|
X | X | X | X | Fix Pack 20 | Fix Pack 11 |
- Ensure you have the correct K2 version and/or Cumulative Update installed. See KB001893 to see what Fix Pack level you have installed.
- Download the latest Fix Pack using the links in the table above for the version you require.
- Install the Fix Pack to apply the fix.
- It is recommended to refresh the browser cache.