Open jayree opened 6 months ago
Hello @jayree :wave: It looks like you didn't include the full Salesforce CLI version information in your issue.
Please provide the output of version --verbose --json
for the CLI you're using (sf
or sfdx
).
A few more things to check:
rc
or nightly
versions. (docs)doctor
command to diagnose common issues.Thank you!
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.
This issue has been linked to a new work item: W-15771541
Hi, @mshanemc would it also be possible to mark all MarkedForDelete
components from the filter in the new component set as destructiveComponents
? fsDeletePaths
is limited to paths so we cannot use this for non-decomposed child components.
checking my understanding
@mshanemc yes, this is how I'm currently doing it: https://github.com/jayree/sfdx-plugin-manifest/blob/988f7bfa2ae0e02f3084a535b2031433b7ce8167/src/SDR-extra/collections/componentSetExtra.ts#L97
@jayree I've tried a few solutions to this, but they all ended up causing some integration test failures.
Summary
ComponentSet.fromSource()
ignorescomponents
which aremarkedForDelete
ininclude
filter.Steps To Reproduce
componentSet
with components and mark them for deletion.componentSet
as aninclude
filter and create aComponentSet.fromSource()
Expected result
components
which aremarkedForDelete
are not listed inmanifestComponents
Actual result
components
which aremarkedForDelete
are listed inmanifestComponents
System Information