texei / sfdx-pull-issues

Improvement of force:source:pull to take care of known bugs
3 stars 0 forks source link

When a field translation is done, pulled metadata includes standard prompt translations that fails to deploy #15

Closed FabienTaillon closed 8 months ago

FabienTaillon commented 1 year ago

Describe the bug When a field translation is done, pulled metadata includes standard prompt translations that fails to deploy

To Reproduce Steps to reproduce the behavior:

  1. Clone the repo here: https://github.com/FabienTaillon/issue-prompt-translation
  2. Create a Scratch Org
  3. Push the metadata from the project to the Scratch Org
  4. Go to Setup/Translation Language Settings
  5. Add French to your own user
  6. Go to Setup/Translate
  7. Look for French/Custom Field/Account/Field Label
  8. Translate the field to Mon Champ
  9. Pull everything
  10. Recreate a new Scratch Org
  11. Push the metadata from the project to the new Scratch Org
  12. Push fails with a prompt error: In field: DeveloperName - no Prompt named MeetingDigest found Going to the translation metadata (force-app/main/default/translations/fr.translation-meta.xml) and removing all prompts tags make the deployment work again.

Expected behavior Deployment should work.

FabienTaillon commented 1 year ago

Case #45113443 created.

FabienTaillon commented 1 year ago

Related Known Issue: https://issues.salesforce.com/issue/a028c00000uXgJuAAK

FabienTaillon commented 8 months ago

Fixed.