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

Sm/coft-deploy-fix #726

Merged
merged 11 commits into from
Oct 5, 2022
Merged

Sm/coft-deploy-fix #726

merged 11 commits into from
Oct 5, 2022

Conversation

mshanemc
Copy link
Contributor

@mshanemc mshanemc commented Oct 4, 2022

What does this PR do?

makes it possible to deploy just a CustomObjectFieldTranslation (decomposed child of customObjectTranslation)

Background:
COFT is not in the metadata api--it has to be rolled up into a COT to be deployed.
The following would not work:

  1. force:source:deploy -p [path to COFT]
  2. changing a COFT file locally and calling force:source:push

This now:

  1. will resolve a CFT to its parent COFT when building componentSets
  2. when a COT is deployed, will create FileReponses for each of the child CFT (we don't know which ones were deployed, so we mark them all. These fileResponses also make sure that source tracking updates correctly for CFT)

What issues does this PR fix or reference?

@W-11811429@

@mshanemc mshanemc marked this pull request as ready for review October 4, 2022 19:34
@mshanemc mshanemc requested review from a team as code owners October 4, 2022 19:34
@mshanemc mshanemc requested a review from jeffb-sfdc October 4, 2022 19:34
@WillieRuemmele
Copy link
Member

QA Notes:


setup

with a project with COFT


deploy -p force/app
deploy -p force-app/main/default/objectTranslations
deploy -p force-app/main/default/objectTranslations/customObject__c-es/customField__c.fieldTranslation-meta.xm
deploy -p force-app/main/default/objectTranslations/customObject__c-es/customObject__c-es.objectTranslation-meta.xml
✅ : retrieve -p force-app/main/default/objectTranslations
❓ :

retrieve -p force-app/main/default/objectTranslations/customObject__c-es/customField__c.fieldTranslation-meta.xml 
Preparing retrieve request... done
=== Retrieved Source

No results found

retrieve -p force-app/main/default/objectTranslations/customObject__c-es/customObject__c-es.objectTranslation-meta.xml

@mshanemc mshanemc merged commit 89214fd into main Oct 5, 2022
@mshanemc mshanemc deleted the sm/coft-deploy-fix branch October 5, 2022 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants