Skip to content
This repository was archived by the owner on Mar 18, 2024. It is now read-only.
This repository was archived by the owner on Mar 18, 2024. It is now read-only.

Fail to fetch requested information when query is too long #860

Closed

Description

@azlam-abdulsalam

Describe the bug
A clear and concise description of what the bug is.

sfpowerscripts when used in large brownfield projects in the process of refactoring, fails to process queries that operate on larger collection of entities, resulting in salesforce throwing <h1>Bad Message 414</h1><pre>reason: URI Too Long</pre>

To Reproduce
Steps to reproduce the behavior:

  1. Utilize a package that has large number of apex classes and the overall length of collection as a string is more than 12k characters
  2. Notice the commands throw exception.

Expected behavior
A clear and concise description of what you expected to happen.

sfpowerscripts should retrieve results in chunks and merge it together.

Screenshots
If applicable, add screenshots to help explain your problem.

Platform Details (please complete the following information):

  • OS: All
  • Version [e.g. CLI Version eg: 1.6.6] : 10.2.15
  • Salesforce CLI(sfdx cli) Version: 7.136.2
  • CI Platform: All

Additional context
Add any other context about the problem here.

Activity

  1. added
    bug
    on Feb 23, 2022
  2. azlam-abdulsalam commented on Feb 23, 2022

    @azlam-abdulsalam
    ContributorAuthor

    Thanks to @Rocko1204 for bringing this to our attention and sharing the patch used
    Patch2.txt

  3. aly76 commented on Apr 6, 2022

    @aly76
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions