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

BUG: Collection Size Exceeds 1,000 in new wizard #1223

Closed
JimBTek opened this issue Jul 21, 2022 · 5 comments
Closed

BUG: Collection Size Exceeds 1,000 in new wizard #1223

JimBTek opened this issue Jul 21, 2022 · 5 comments
Assignees
Labels
Milestone

Comments

@JimBTek
Copy link
Collaborator

JimBTek commented Jul 21, 2022

Problem

when hitting the button to load the new wizard in a real client org we hit the Collection Size limit in VF

image

Solution

Logic Assertions

Steps to test the solution works:

  • run the new wizard in an org with over 1,000 objects, or somehow mock the describe object list
  • confirm no list size error is received

QA Proof it passed QA (steps and pictures)

Implementation

@JimBTek JimBTek added this to the 2.16 milestone Jul 21, 2022
@JimBTek JimBTek added the bug label Jul 21, 2022
@JimBTek
Copy link
Collaborator Author

JimBTek commented Jul 21, 2022

could this end up returning over 1,000 objects?

@Szandor72
Copy link
Contributor

Szandor72 commented Jul 24, 2022

We have added an error message in #1224 that advises users to use the old wizard for these cases.

Do we need more to close this issue?

@JimBTek
Copy link
Collaborator Author

JimBTek commented Jul 26, 2022

it appears that using:
[select DeveloperName from entitydefinition where IsCustomizable = true] could also automatically reduce the list size by 66%. In the real org that failed during testing we ran this and got:

False: 1397 objects
True: 613 objects

@Szandor72
Copy link
Contributor

Will be shipped with 2.17 and then closed.

@Szandor72
Copy link
Contributor

Shipping with 2.17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants