Ends in:
0 DAY
22 HRS
26 MIN
29 SEC
Ends in:
0 D
22 H
26 M
29 S
Open Closed

Issue with changing LimitedResultRequestDto.MaxMaxResultCount #6619


User avatar
0
GabrielSchuller created

Hi,

I have an issue with the LimitedResultRequestDto.MaxMaxResultCount. More exactly, I have a radzen data grid in which I try to show 1138 records and for that I had to change the LimitedResultRequestDto.MaxMaxResultCount to a higher value. I decided to go with 10000, being that many more records could be added and I wanted to make sure we won't have an issue no more. It works fine but when I try to go on other routes, like for example I would like to go and add users, I get this error:

I have tried to use and implement a dispose method to put it back to 1000, which it does, but the application breaks after. Please give me a hand in how to change said issue with LimitedResultRequestDto.MaxMaxResultCount and LimitedResultRequestDto.DefaultMaxResultCount

  • ABP Framework version: 7.4.2
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace: Showed in the picture
  • Steps to reproduce the issue: You change the LimitedResultRequestDto.MaxMaxResultCount in a data grid with radzen, or in general i believe, then you go on the users route. It sometimes does not happen always, but it will happen once every 6-7 tries for sure. You need to first go on to the page that changes the LimitedResultRequestDto.MaxMaxResultCount and then go on the users page or whatever page makes a db call. Those steps are not required but I gave the ones that will reproduce it for sure with greatest degree of success

2 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    please check https://docs.abp.io/en/abp/latest/Data-Transfer-Objects#max-result-count

    similar issue https://support.abp.io/QA/Questions/938/apiidentityusers-returning-max-10-records-without-parameters#answer-fdc7a82f-9e4f-e1c8-d74b-39fadeab0d46

    thanks

  • User Avatar
    0
    ccernat created

    Solved. Tks.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19