-
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
Unknown type CustomFieldTranslation when retrieving and deploying CustomObjectTranslation metadata #1161
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. |
Hi it's a known bug, we've a PR for it should be out in out next rc release |
This PR to the SDR library fixes the issue. A new version of the source plugin will be published later today that consumes this fix. |
I've been able to workaround this issue using a previous version like 7.114.0 |
So I've been having this issue since version 115 came out last Thursday. Created a lot of churn for us. I downgraded to CLI version 114 and 112 and I was still seeing this issue, so I thought it was a salesforce problem, but it does look like its a CLI thing after all. Why does downgrade not work? This is sfdx version (downgraded): I am running this command: sfdx force:source:deploy -p force-app\main\default --targetusername XXX --wait 20 I get this error: changed : false |
I kinda figured the bug was introduced by one of the npm dependencies being upgraded. I downgraded to 7.114.0 and that didn't help, but when I switched to an older installation that was 7.114.0 that had never been upgraded, it worked. |
That's what I thought too, but couldn't find the culprit. Downgraded to version 112, hoping that would surely downgrade the dependencies too, but no dice. OK, will test today's build, when it comes out |
Looks like 7.116.2 has fixed this, as promised. Thx |
We are still seeing this issue on our deployments. CLI is using 7.116.2. Anyone else? |
I am seeing this too still, with This was not an issue for me on |
This is fixed for me with 7.116.2 as well. Not sure why others are still having reporting the same issue. |
I am still seeing this on
@oclif/plugin-autocomplete 0.3.0 (core) |
Same here with 7.116.2, still broken: {
"cliVersion": "sfdx-cli/7.116.2",
"architecture": "darwin-x64",
"nodeVersion": "node-v14.17.5",
"pluginVersions": [
"@oclif/plugin-autocomplete 0.3.0 (core)",
"@oclif/plugin-commands 1.3.0 (core)",
"@oclif/plugin-help 3.2.2 (core)",
"@oclif/plugin-not-found 1.2.4 (core)",
"@oclif/plugin-plugins 1.10.1 (core)",
"@oclif/plugin-update 1.4.0-3 (core)",
"@oclif/plugin-warn-if-update-available 1.7.0 (core)",
"@oclif/plugin-which 1.0.3 (core)",
"@salesforce/sfdx-plugin-lwc-test 0.1.7 (core)",
"@salesforce/sfdx-trust 3.6.0 (core)",
"alias 1.1.10 (core)",
"apex 0.2.8 (core)",
"auth 1.7.1 (core)",
"config 1.2.24 (core)",
"custom-metadata 1.0.12 (core)",
"data 0.6.1 (core)",
"generator 1.1.7 (core)",
"limits 1.2.1 (core)",
"org 1.7.0 (core)",
"salesforce-alm 52.3.1 (core)",
"schema 1.0.8 (core)",
"sfdx-async-alert-plugin 0.0.0 (link) /Users/theodoorvandonge/workspace/sfdx-async-alert-plugin",
"sfdx-cli 7.116.2 (core)",
"source 1.0.12 (core)",
"telemetry 1.2.3 (core)",
"templates 52.1.0 (core)",
"user 1.4.0 (core)"
],
"osVersion": "Darwin 20.6.0"
} Can we reopen? Or create a new issue? |
We have the same issue! with 7.116.2 Need a fix asap :( |
@cristiand391 |
We are also facing the same issue - it doesn't appear to be fixed yet. |
We are also facing same issue(Unknown type name 'CustomFieldTranslation' specified in package.xml) Currently using sfdx-cli/7.116.2 win32-x64 node-v14.17.5 version |
Also seeing this issue, running 7.116.2 |
Also seeing this issue with 7.116.2. Tried working around with older versions as far back as 7.110.0 but no luck. |
fixed in yesterday's release (hopefully...if not, let us know!) |
I've found this to only partially be resolved with 7.117.0. I continue to to get the "Unknown type CustomFieldTranslation when retrieving and deploying CustomObjectTranslation metadata" error when deploying via mdapi deploy. It works without issue if I deploy as source. |
@terryward1520 - the mdapi commands would be a different issue as those are still in the salesforce-alm plugin, not the source plugin ( |
Facing the same issue on version: 7.117.0-b5a8ac9 |
I had the same problem. |
Summary
Unknown type CustomFieldTranslation when retrieving and deploying CustomObjectTranslation metadata.
Steps To Reproduce:
sfdx force:source:retrieve -m CustomObjectTranslation
.sfdx fource:source:deploy -p force-app/main/default/objectTranslations
.Expected result
No error.
Actual result
Error during retrieval:
Fatal error during deployment:
System Information
The text was updated successfully, but these errors were encountered: