Describe the bug
A vlocity-data-package can break the whole deployment process, when it contains a xml-file which isn't a metadata. In specific the pre and post deployers are not handling that case correctly.
To Reproduce
Steps to reproduce the behavior:
Add a sfdx-package as type data
Insert a datapack with a random .xml-File
Try to deploy/create pool.
Expected behavior
Deployment or Pool Creation should work without any issue. The pre-/post-deployers should not break with such a kind package.
Screenshots
Platform Details (please complete the following information):
OS: Mac/GitHub
Version [e.g. CLI Version eg: 1.6.6]: @flxbl-io/sfp/39.2.1 darwin-arm64 node-v18.20.3
Describe the bug A vlocity-data-package can break the whole deployment process, when it contains a xml-file which isn't a metadata. In specific the pre and post deployers are not handling that case correctly.
To Reproduce Steps to reproduce the behavior:
Expected behavior Deployment or Pool Creation should work without any issue. The pre-/post-deployers should not break with such a kind package.
Screenshots
Platform Details (please complete the following information):
Additional context Workaround: Just ignore the whole datapacks via .forceignore. (maybe the correct approach for datapacks?)
Following code runs into an error, when a xml file is contained in a datapack: