More in this section

Forums / Bugs & Issues / GetItemsByTaxon does not work correctly in 4.1

GetItemsByTaxon does not work correctly in 4.1

2 posts, 0 answered
  1. Pavel
    Pavel avatar
    14 posts
    Registered:
    25 Sep 2007
    20 Apr 2011
    Link to this post
    Throws exception (see attached) when GetItemsByTaxon take parameter has value Int32.MaxValue. When values is, for example, 100 it works correctly. Please explain.
  2. Momchil Mitev
    Momchil Mitev avatar
    13 posts
    Registered:
    14 Jul 2016
    25 Apr 2011
    Link to this post
    Hi Pavel,

    Thank you for reporting this to us.

    This behaviour is most probably a bug in our Linq provider implementation. We logged a task and will get back to you when it is done. There is an alternative call that will behave as you have intended - just provide a value of '0' for the take parameter. This will also make the parsing of the expression call a bit faster as it will not add a 'Take' statement at all.

    Kind regards,
    Momchil Mitev
    the Telerik team

2 posts, 0 answered