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

Field Translations not Deploying #161

Open
mikewilson4 opened this issue Feb 25, 2025 · 2 comments
Open

Field Translations not Deploying #161

mikewilson4 opened this issue Feb 25, 2025 · 2 comments
Assignees
Labels

Comments

@mikewilson4
Copy link

Describe the bug
Field Translation metadata files are not being detected or deployed by sfp.

To Reproduce
Modify/add a field translation metadata file in a diff package (haven't tried other package types). Create a build and see that object translations are detected but not the field translations for the same object.

Expected behavior
Field Translation metadata files should be detected during the build and deployed

Platform Details (please complete the following information):

  • OS: N/A
  • Version: 39.4.1
  • Salesforce CLI(sfdx cli) Version:
  • CI Platform: Azure DevOps

Additional context
Add any other context about the problem here.

@azlam-abdulsalam
Copy link

@mikewilson4 thanks for reporting, Can you try our alpha build sfp .v39.5.1 and confirm whether the issue exists?

ghcr.io/flxbl-io/sfp-rc:39.5.1-13409618031 -- if you as re using docker

@azlam-abdulsalam azlam-abdulsalam self-assigned this Mar 4, 2025
@mikewilson4
Copy link
Author

Just confirmed that this issue is still happening on the aforementioned alpha version.

Here you can there is definitely a diff for the files:

git diff --name-only @~ @
========================== Starting Command Output ===========================
/usr/bin/bash --noprofile --norc /__w/_temp/66a4e712-4a1a-4224-a649-c90195773eca.sh
force-app/main/default/objectTranslations/WorkPlanSelectionRule-en_US/WorkPlanSelectionRule-en_US.objectTranslation-meta.xml
force-app/main/default/objectTranslations/WorkPlanSelectionRule-en_US/workplanselectionrule_history.fieldTranslation-meta.xml
force-app/main/default/objectTranslations/WorkPlanTemplate-en_US/WorkPlanTemplate-en_US.objectTranslation-meta.xml
force-app/main/default/objectTranslations/WorkPlanTemplate-en_US/workplantemplate_history.fieldTranslation-meta.xml
force-app/main/default/objectTranslations/WorkPlanTemplateEntry-en_US/WorkPlanTemplateEntry-en_US.objectTranslation-meta.xml
force-app/main/default/objectTranslations/WorkPlanTemplateEntry-en_US/workplantemplateentry_history.fieldTranslation-meta.xml

And here's the sfp output:

sfp (community edition)  -- ❤️ by flxbl.io ❤️ -Version:39.5.1 -Release:March 24
------------------------------------------------------------------------------------------
command: install
Skip artifacts if already installed: true
Artifact Directory: artifacts
Target Environment: ci
------------------------------------------------------------------------------------------
Found latest package manifest in force-app artifact
Full Installation Breakdown
Artifacts to be installed
Installing: 1/1  force-app
------------------------------Installing artifact:force-app-------------------------------
Name: force-app
Type: diff
Version Number: 1.0.0.8905
Skip Testing: true
Always Deploy: False
------------------------------------------------------------------------------------------
Checking status of permission sets group..
Proceeding with deployment, as no PermissionSetGroups are being updated
Executing Pre Deployers
Executing Field History Tracking Analyzer
Executing Feed Tracking Analyzer
Executing Picklist Analyzer
Pre Deployer Picklist Enabler skipped or not enabled
The following metadata will be deployed:
                                                                          
 Metadata Type             API Name      
 CustomObjectTranslation   WorkPlanSelectionRule-en_US                  
 CustomObjectTranslation   WorkPlanTemplate-en_US                       
 CustomObjectTranslation   WorkPlanTemplateEntry-en_US                  

You can see it detects the object translations, but not the field translations.

Wondering if this is possibly related to #162?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants