Completed
Last Updated: 13 Jun 2022 09:58 by ADMIN
Release 2022.R2.SP.next
Brian
Created on: 12 May 2022 06:44
Category: Grid
Type: Bug Report
0
Grid bound column throws an exception when using Enums with FlagsAttribute

Bug report

Kendo.Mvc.UI.GridBoundColum.SerializeValues throws an exception when using an Enum, decorated with FlagsAttribute.

This is a regression introduced with v2022.2.510. Possibly related to telerik/kendo@423e1e9

Reproduction of the problem

Using a ForeignKey column, bound to Enum, where the Enum has the FlagsAttribute throws an exception:

columns.ForeignKey(m => m.MyEnum, ....); // MyEnum is an enum with the FlagsAttribute

Expected/desired behavior

Using an Enum, decorated with FlagsAttribute should be possible, as in previous versions and an exception should not be thrown.

Environment

  • Kendo UI version: 2022.2.510
  • jQuery version: x.y
  • Browser: [all]
0 comments