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

ERROR running force:source:convert: Expected metadata file with '-meta.xml' #49

Open
rajesh-k opened this issue Feb 12, 2021 · 4 comments

Comments

@rajesh-k
Copy link

Is the Object Translation metadata type not supported? I am getting the following error while comparing the repository with the object translation metadata.

ERROR running force:source:convert: Expected metadata file with '-meta.xml' extension at path: /private/var/folders/2s/c3_ctkyx0t30l_shntnmqjv40000gp/T/tmp-40478MRR4pVhhNqJN/force-app/main/default/objectTranslations/Case_Duplicates__c-en_US/Case_Duplicates__c-en_US.objectTranslation-meta.xml

@ChuckJonas
Copy link
Collaborator

ChuckJonas commented Feb 12, 2021

can you provide me with the output of the files that actually are in the /main/default/objectTranslations/Case_Duplicates__c-en_US/ folder?

IOW what you see when you run

> ls /private/var/folders/2s/c3_ctkyx0t30l_shntnmqjv40000gp/T/tmp-40478MRR4pVhhNqJN/force-app/main/default/objectTranslations/Case_Duplicates__c-en_US/

@ChuckJonas
Copy link
Collaborator

I've never used Object translations so I'm not familiar with them, but I think it was just missing from the list of metadata types which have accompanied -meta.xml files.

Please update to the 0.3.3 version and let me know if that fixes it.

@rajesh-k
Copy link
Author

rajesh-k commented Feb 12, 2021

❯ pwd
/Users/rajesh.krishnaiah/Projects/2021/Jarvis/jarvis_codebase/force-app/main/default/objectTranslations

main/default/objectTranslations on  feature/jarvis [⇡]
❯ ls Case_Du*
Case_Duplicate__c.fieldTranslation-meta.xml
Case_Duplicates__c-en_US.objectTranslation-meta.xml

Let me know how I can upgrade to 0.3.3 version.

@ChuckJonas
Copy link
Collaborator

@rajesh-k Oh, I don't think my fix will have address this....

For the DIFF you are trying to deploy, which of these files was modified?

If it's possible to inspect the generate package and compare it to what you would have expected, then it would make it easier to fix.

I might just have to setup object translations...

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

No branches or pull requests

2 participants