Retrieve does not work correctly with multi-root metadata #5764
pkozuchowski
started this conversation in
Ideas
Replies: 1 comment
-
Hi @AMOREK thanks for opening this issue. We will be addressing this limitation soon and you will see it being added to our roadmap. The current cc @ntotten |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
When metadata is organized into packages, for example like this:
force-app/commons/classes/classX.cls
force-app/main/default/classes/classY.cls
When I right click and retrieve on classX, the file is not refreshed. Instead new file is created in
force-app/main/default/classes/classX.cls
Steps To Reproduce:
The project should be setup against sandbox, not scratch org.
Create folder structure as mentioned above
Some classes are in force-app/commons/classes
The rest is in /main/default/classes
Right Click and Retrieve on class in /commons/classes
Notice that new file is created in default package.
Expected result
Existing class should be refreshed with retrieved metadata.
Actual result
New file is created in default package.
VS Code Version:
1.40.1
SFDX CLI Version:
7.32.0
OS and version:
Windows 10.0.18362
Beta Was this translation helpful? Give feedback.
All reactions