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

org-metadata-rest-deploy not taken into account #2062

Closed
RenaudAM opened this issue Apr 14, 2023 · 6 comments
Closed

org-metadata-rest-deploy not taken into account #2062

RenaudAM opened this issue Apr 14, 2023 · 6 comments
Labels
bug Issue or pull request that identifies or fixes a bug

Comments

@RenaudAM
Copy link

Summary

Since version 7.195, org-metadata-rest-deploy seems to no more take into account.
Works fine with 7.194.1, but with an higher version, all deployments use SOAP.

Steps To Reproduce:

Repository to reproduce: Any

NOTE: If your issue is not reproducable by dreamhouse-lwc, i.e. requires specific metadata or files, we require a link to a simple Salesforce project repository with a script to setup a scratch org that reproduces your problem.

  1. Configure cli to use REST deploy with
    sf config set org-metadata-rest-deploy=true
  2. Launch a deployment with
    sfdx force:source:deploy -p force-app/ -u $ORG_ALIAS -l NoTestRun -w $WAIT_TIME

Expected result

Deployment using REST

Actual result

Deployment with SOAP

image

System Information

  • Which shell/terminal are you using? git bash

Works fine with version 7.194.1
I try all version higher than this one and the result is the same.

@RenaudAM RenaudAM added the investigating We're actively investigating this issue label Apr 14, 2023
@github-actions
Copy link

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.

@WillieRuemmele
Copy link
Member

Hey @RenaudAM thanks for reporting this - seems like there's bug in the force source deploy and the project deploy start commands.

I'll look into this as soon as I can

@WillieRuemmele WillieRuemmele added bug Issue or pull request that identifies or fixes a bug and removed investigating We're actively investigating this issue labels Apr 14, 2023
@git2gus
Copy link

git2gus bot commented Apr 14, 2023

This issue has been linked to a new work item: W-13036560

@RenaudAM
Copy link
Author

RenaudAM commented Aug 8, 2023

Hello,

This issue reappear in version 2.2.7-3653112

@RenaudAM
Copy link
Author

RenaudAM commented Aug 8, 2023

Hello,
Sorry it still works on 2.27 for deploy but not for the retrieve.

@shetzel
Copy link
Contributor

shetzel commented Aug 8, 2023

The metadata API does not support REST for retrieve, only SOAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue or pull request that identifies or fixes a bug
Projects
None yet
Development

No branches or pull requests

4 participants