Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maximum SOQL offset allowed for apiName Property__c is 2000 - PropertyController #660

Closed
1 task done
denis-chiong-hexagon opened this issue Oct 30, 2024 · 2 comments · Fixed by #667
Closed
1 task done
Assignees
Labels
bug Something isn't working

Comments

@denis-chiong-hexagon
Copy link

Summary

If we have more than 2000 properties in the system the navigator will fail because we cannot have an OFFSET greater than 2000

image
image

Considerations When Using OFFSET

  • The maximum offset is 2,000 rows. Requesting an offset greater than 2,000 results in an error.

Salesforce Org Type

Developer Edition Org

Steps To Reproduce

  1. Create over 2,000 properties.
  2. Open the Property Explorer page.
  3. Attempt to navigate to the last page or to a page where more than 2,000 properties need to be skipped.
  4. An error appears at this point.

Current Behavior

image

Error retrieving data
Show details
Maximum SOQL offset allowed for apiName Property__c is 2000

Expected Behavior

Load all properties, even if the total exceeds 2,000.

Relevant Log Output

Error retrieving data
Show details
Maximum SOQL offset allowed for apiName Property__c is 2000

Code of Conduct

  • I agree to follow this project's Code of Conduct
@denis-chiong-hexagon denis-chiong-hexagon added the bug Something isn't working label Oct 30, 2024
Copy link
Contributor

Thank you for posting this issue. 🙇🏼‍♂️
We will come back to you shortly.

@pozil
Copy link
Contributor

pozil commented Nov 14, 2024

Hi @denis-chiong-hexagon, thanks for reporting the issue. I have implemented a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants