-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
Some Specific Wave metadata type Components are not added in Output directory #286
Comments
Hi @anish1310 Thanks for raising this issue. I'll have a look in the coming days to qualify this issue. Stay tuned! |
Hi @anish1310 I have investigated a little bit.
I created a branch issue/286 on the reproduction playground to do so. $ git clone https://github.com/scolladon/sfdx-git-delta-reproduction-playground.git
$ cd sfdx-git-delta-reproduction-playground
$ git checkout issue/286
$ sfdx sgd:source:delta -d -f "HEAD~1"
$ cat output/package/package.xml
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>WaveApplicationTest</members>
<name>WaveApplication</name>
</types>
<types>
<members>WaveDataSetTest</members>
<name>WaveDataset</name>
</types>
<types>
<members>WaveXmlTest</members>
<name>WaveXmd</name>
</types>
<version>54.0</version>
</Package>
$ tree output/sgd
output/sgd
└── reproduction
└── playground
└── wave
├── WaveApplicationTest.wapp
├── WaveDataSetTest.wds
└── WaveXmlTest.xmd Could you try on your side and see if you still have the issue ? My environment
|
Hi @scolladon , trust you doing good! Details below:Source file (as seen in Github PR - Files changed): force-app/main/default/wave/ABC_Landing_Dashboard.wdash Get delta command: sfdx sgd:source:delta -t HEAD -f $LAST_DEPLOYED_COMMIT --output "/__w/1/s/artifact_1234" --generate-delta --api-version=$SOURCE_API_VERSION Output:
Physical files in output: Delta package generated by the sgd plugin and has only one file. └───artifact_1234 Validation error : Output: ERROR running force:source:deploy: No source-backed components present in the package. With another third party tool: same object generate 2 files as output and validates successfully with Salesforce sandbox. ABC_Landing_Dashboard.wdash
Environment: git version 2.35.1 sfdx-cli/7.146.1 linux-x64 node-v16.13.2 @salesforce/sfdx-scanner 2.13.1
|
Thanks for those information. I was not aware of the dashboard metadata having meta file. Other question, what is the other third party tool you mentioned ? |
Hi @scolladon ,
I hope you are able to resolve this issue quickly, as we are blocked at the moment. |
I wonder why you are facing this issue as the deployment is done based on the package.xml content and not from the generated source. Normally, using |
In the Azure DevOps pipeline steps:
output:
|
@vaibhavdangar-woolies Thanks for your answers ! We have created a fix for this issue, the PR is currently under review. |
Hi @scolladon, I will test and inform. thank you ! |
Hi @scolladon , Please could you merge the PR and make it live, I'm unable to get the sfdx plugins:link work locally from docker. It would be easier with latest version installed by |
New version released (5.2.0) with the fix @vaibhavdangar-woolies & @anish1310 |
@scolladon Thanks for fixing the issue quickly, will test and let you know about further results. |
Hi @scolladon , Issue resolved, able to see the meta files in the delta output directory. |
Happy incremental deployment guys ! |
Issue verification check:
What is the problem?
We are getting a problem with generating delta with source code in a separate folder for wave component (Tableau Components)
There are some wave component differences between the branches, and the package.xml for wave components generated after running the source:delta command is correct but it didn't add the following wave metadata type components in the output directory:
What is the parameter and the value you used with it?
sfdx sgd:source:delta --to "source-branch" --from "target-branch" --output output-dir/ -d
What is the expected result?
WaveApplication, WaveDataset, WaveXmd type components should be added in the output directory, even though they are generated in the package.xml which got generated
What is the actual result?
No WaveApplication, WaveDataset, WaveXmd added in the output directory
Sample package.xml
Steps to reproduce
Execution context
Operating System: MacOS Big Sur 11.6
yarn version: …
node version: …
git version: 2.30.1 (Apple Git-130)
sfdx version: sfdx-cli/7.144.2 darwin-x64 node-v16.14.2
sgd plugin version: sfdx-git-delta 5.1.2
More information (optional)
The text was updated successfully, but these errors were encountered: