-
Notifications
You must be signed in to change notification settings - Fork 79
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
force:source:deploy fails for labels in 7.113 #1133
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. |
I don't think this is correct. Note this example from the LWC docs: https://developer.salesforce.com/docs/component-library/documentation/en/lwc/create_labels
|
Interesting - it looks like there's conflicting information out there! I've attached this issue to another one about issues with labels so they should be fixed together |
Your link pointed me at the metadata API which I don't think I'm using with a dx project & |
@avisser - all deploys and retrieves use the metadata API. There is always a manifest involved when deploying or retrieving. So this includes |
@shetzel got it. Just a symptom of bad naming I guess. |
|
I was more commenting on the name collision between "Metadata API" and the mdapi (which I assume is short for metadata api) project format. What I'm reading is that they have nothing to do with each other, which is confusing. |
Hi @avisser this should be fixed in the latest-rc build of the cli 1.115.0, you can get it by either sfdx update stable-rc or npm install sfdx-cli@latest-rc --global depending on your preferred install method. Please let us know if you're still seeing this in 1.115.0 of the CLI |
Summary
Running
force:source:deploy
against labels fails 7.113 with the error "Not in package.xml". This is source-format project. I DON'T HAVE a package.xml.Steps To Reproduce:
sfdx force:source:deploy -p path/to/something.labels-meta.xml
Expected result
The labels are deployed
Actual result
System Information
sfdx-cli/7.113.0 darwin-x64 node-v14.17.4
Reverting to 7.111.6 makes this issue disappear.
The text was updated successfully, but these errors were encountered: