The GetValue and GetValueOrDefault methods in DotNetNuke.Collection.CollectionExtensions try to automatically convert a value into a given type. However, if that type is nullable and the value is null, then an InvalidCastException is thrown. The code should allow returning null for a nullable type.
not visible for QA, and it needs to be code reviewed.
Closing per confirmation this is just code addition to support new data values that were not supported before