-
Notifications
You must be signed in to change notification settings - Fork 78
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
ManifestGenerate - URI malformed #2560
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
The command works fine with CLI version 2.13.9 and failing in all latest versions. |
This issue has been linked to a new work item: W-14457431 |
Thanks for reporting. I'll get this bug fixed asap. If you add this code : |
Thanks for your response @shetzel . Here is the metadata type and the file path pattern. documents/xxxxx/xxxx.txt%7E |
Hmmm, that decodes just fine. Regardless, I have a PR to fix this in SDR here: forcedotcom/source-deploy-retrieve#1167 |
@shetzel Can you please let me know which version of the SF CLI will have this fix? |
@ar-srinivas - it will be in the next CLI release candidate (Nov 15th, 2023). You might be able to install the latest deploy-retrieve plugin now for the fix. |
@shetzel What is the exact command to update this specific plugin without upgrading the version from 2.14.x? |
To install the latest version of the deploy-retrieve plugin, |
@shetzel Thank you again! Facing some issues with plugin install command. So, planning to upgrade the Cli to "2.17.3": "https://developer.salesforce.com/media/salesforce-cli/sf/versions/2.17.3/3dd8f2a/sf-v2.17.3-3dd8f2a-linux-x64.tar.gz". Hope the fix is included in this version. |
@shetzel Can you please help us on this error. I am facing an issue when we run plugins install command, the error remains same for any plugin installation. Command: Version: Architecture: Node Version: Plugin Version: OS and Version: Shell: Root Path: |
That's a different error so you should post a new issue. It's odd that the output of |
Summary
Getting URI malformed error while generating the manifest using the CLI.
Steps To Reproduce
{ "code": 1, "context": "ManifestGenerate", "commandName": "ManifestGenerate", "message": "URI malformed", "name": "URIError", "status": 1, "stack": "URIError: URI malformed\n at decodeURIComponent (<anonymous>)\n at DecodeableMap.getExistingKey (/Users/srinivas.s/.local/share/sf/client/2.15.9-ffa76de/node_modules/@salesforce/source-deploy-retrieve/lib/src/collections/decodeableMap.js:71:32)\n at DecodeableMap.set (/Users/srinivas.s/.local/share/sf/client/2.15.9-ffa76de/node_modules/@salesforce/source-deploy-retrieve/lib/src/collections/decodeableMap.js:53:31)\n at ComponentSet.add (/Users/srinivas.s/.local/share/sf/client/2.15.9-ffa76de/node_modules/@salesforce/source-deploy-retrieve/lib/src/collections/componentSet.js:332:35)\n at buildComponents (/Users/srinivas.s/.local/share/sf/client/2.15.9-ffa76de/node_modules/@salesforce/source-deploy-retrieve/lib/src/collections/componentSet.js:89:25)\n at ComponentSet.fromSource (/Users/srinivas.s/.local/share/sf/client/2.15.9-ffa76de/node_modules/@salesforce/source-deploy-retrieve/lib/src/collections/componentSet.js:93:9)\n at ComponentSetBuilder.build (/Users/srinivas.s/.local/share/sf/client/2.15.9-ffa76de/node_modules/@salesforce/source-deploy-retrieve/lib/src/collections/componentSetBuilder.js:40:59)\n at ManifestGenerate.run (/Users/srinivas.s/.local/share/sf/client/2.15.9-ffa76de/node_modules/@salesforce/plugin-deploy-retrieve/lib/commands/project/generate/manifest.js:38:81)\n at async ManifestGenerate._run (/Users/srinivas.s/.local/share/sf/client/2.15.9-ffa76de/node_modules/@salesforce/plugin-deploy-retrieve/node_modules/@oclif/core/lib/command.js:117:22)\n at async Config.runCommand (/Users/srinivas.s/.local/share/sf/client/2.15.9-ffa76de/node_modules/@oclif/core/lib/config/config.js:529:25)\n at async run (/Users/srinivas.s/.local/share/sf/client/2.15.9-ffa76de/node_modules/@oclif/core/lib/main.js:90:16)", "exitCode": 1, "warnings": [] }
Expected result
It should generate package manifest
Actual result
URI malformed"
System Information
Additional information
The text was updated successfully, but these errors were encountered: