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

Packages containing territory only changes do not get to Salesforce #290

Closed
1 task
shkalantaryCL opened this issue Apr 12, 2022 · 2 comments
Closed
1 task
Assignees
Labels

Comments

@shkalantaryCL
Copy link

Issue verification check:

  • is the current repository fully deployable at the commit SHA provided with the 'from' parameter of the command?

What is the problem?


We have observed that the deployment on packages with only changes to territory do not get along to Salesforce , even though the build status is successful in Jenkins but the request is not sent to SF. However , if we have changes to other components in addition to the territories in the same build , then only the build reflects on SF UI. But even in the second scenario the changes to territory component do not get deployed/ reflected on the target org.

What is the parameter and the value you used with it?

mkdir sfdx-delta
sudo sfdx sgd:source:delta --to 'commit id' --from 'previous commit id' --output sfdx-delta --generate-delta

What is the expected result?

sample of a delta package containing both territory & other changes :

Account-PMGS-WLS-IC-Advisor Accounts Account-WLS-IC-Advisor Accounts Layout Advanced_Advisor_Practices.territory2 Territory2Model 53.0

What is the actual result?

actual and expected delta package generated on the Jenkins output log are same & look good.

Steps to reproduce

  1. make a change to territory component on feature branch
  2. create a PR from the feature branch to the main branch and merge
  3. trigger the Jenkins job
  4. Watch the output log

Operating System: Windows 10

yarn version:

node version:

git version: 2.24.4

sfdx version: 7.108.0

sgd plugin version:

@shkalantaryCL shkalantaryCL added the bug Something isn't working label Apr 12, 2022
@scolladon
Copy link
Owner

scolladon commented Apr 14, 2022

Hi @shkalantaryCL

Thanks for raising this issue, thanks for your interest in the plugin and for your help to improve it.

Per the description of this issue, the plugin seems to do its job fine (generating xml files and delta files).
I found one fixed issue related to what you described in the sfdx-cli

I have couple questions:

  • What is the command and the parameters you use to deploy territory metadata?
  • Do you have this issue using this command even from the whole sources of you repository? (without using incremental generation with the plugin)

@scolladon scolladon added sfdx and removed bug Something isn't working labels Apr 14, 2022
@scolladon
Copy link
Owner

@shkalantaryCL closing this issue as it may be related to a solved known issue and it has been open for a very long time
Feel free to reopen it with more information

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