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

Document files are not delta generated when metafile is changed #272

Closed
1 task
scolladon opened this issue Mar 22, 2022 · 0 comments · Fixed by #276
Closed
1 task

Document files are not delta generated when metafile is changed #272

scolladon opened this issue Mar 22, 2022 · 0 comments · Fixed by #276
Assignees
Labels
bug Something isn't working

Comments

@scolladon
Copy link
Owner

Issue verification check :

  • does the current repository is fully deployable at the commit sha given to the from parameter of the command ?

What is the problem


When modifying a document-meta.xml file the corresponding file is not copied to the output folder while running -d
Package.xml is correctly generated

What is parameter and their value you used

$ sfdx sgd:source:delta -f "HEAD~1" -o output -d

What is the expected result

The document file and its metadata file must be copied to the output folder

What is the actual result

Only the document metadata file is copied to the output folder

Steps to reproduce


Clone the reproduction playground and checkout the branch issue/270.

Then execute:

mkdir output
sfdx sgd:source:delta -f "HEAD~1" -o output -d

output/sgd/reproduction/playground/documents/test contains only the file.document-meta.xml file

Execution context


Operating System: Darwin Kernel Version 21.3.0: Wed Jan 5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_X86_64

yarn version: 1.22.15

node version: v14.19.0

git version: 2.35.1

sfdx version: sfdx-cli/7.142.1 darwin-x64 node-v14.19.0

sgd plugin version: 5.0.3

Optional more information


$ git diff --name-status --no-renames "HEAD~1"

M       sgd/reproduction/playground/documents/test/file.document-meta.xml
@scolladon scolladon added the bug Something isn't working label Mar 22, 2022
@scolladon scolladon self-assigned this Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant