You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a field translation is done and that a Managed Packaged with Report Types is installed, pulled metadata includes Report Type name without namespace, leading to failing deployment
#16
Open
FabienTaillon opened this issue
Aug 9, 2023
· 2 comments
Describe the bug
When a field translation is done and that a Managed Packaged with Report Types is installed, pulled metadata includes Report Type name without namespace, leading to failing deployment
To Reproduce
Steps to reproduce the behavior:
Clone the repo here: https://github.com/FabienTaillon/issue-prompt-translation
Create a Scratch Org
Push the metadata from the project to the Scratch Org
Install a Managed Package with a Report Type, for instance Squivr (sf package install -p 04t8V000000ksxyQAA -w 60)
Go to Setup/Translation Language Settings
Add French to your own user
Go to Setup/Translate
Look for French/Custom Field/Account/Field Label
Translate the field to Mon Champ
Pull everything
Recreate a new Scratch Org
Push the metadata from the project to the new Scratch Org
Push fails with a prompt error: In field: name - no ReportType named Contacts_with_Relationships found
This is because in the translation metadata (force-app/main/default/translations/fr.translation-meta.xml), the metadata name retrieved is Contacts_with_Relationships instead of squivr__Contacts_with_Relationships. The name used is not including the namespace, which makes the deployment fail. Changing the name in the metadata manually fixes the issues (but comes back everytime we update a translation and pull changes).
Expected behavior
Translation metadata (force-app/main/default/translations/fr.translation-meta.xml) should be retrieved with the ReportType including the namespace.
The text was updated successfully, but these errors were encountered:
Describe the bug
When a field translation is done and that a Managed Packaged with Report Types is installed, pulled metadata includes Report Type name without namespace, leading to failing deployment
To Reproduce
Steps to reproduce the behavior:
https://github.com/FabienTaillon/issue-prompt-translation
sf package install -p 04t8V000000ksxyQAA -w 60
)Setup/Translation Language Settings
Setup/Translate
French/Custom Field/Account/Field Label
Mon Champ
In field: name - no ReportType named Contacts_with_Relationships found
This is because in the translation metadata (
force-app/main/default/translations/fr.translation-meta.xml
), the metadata name retrieved isContacts_with_Relationships
instead ofsquivr__Contacts_with_Relationships
. The name used is not including the namespace, which makes the deployment fail. Changing the name in the metadata manually fixes the issues (but comes back everytime we update a translation and pull changes).Expected behavior
Translation metadata (
force-app/main/default/translations/fr.translation-meta.xml
) should be retrieved with the ReportType including the namespace.The text was updated successfully, but these errors were encountered: