Issue with nullable parameter

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Critical - P2
    • 2.4.3
    • Affects Version/s: 2.4.2
    • Component/s: LINQ
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We are experiencing a null reference exception when attempting to build a filter using a nullable parameter, even though the value is not null.

      I have attached a sample file to illustrate the error, if you attempt to use a nullable enumeration as a Type in a LINQ filter you get a null reference exception. I'm aware the type on the serialised class (User) is not nullable, but the nullable parameter is used to distinguish whether a filter is needed or not.

      We have isolated this down to the upgrade between 2.4.1 and 2.4.2.

        1. Program.cs
          1 kB
          Rob Offer

              Assignee:
              Robert Stam
              Reporter:
              Rob Offer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: