Retrieve Metadata returns "No Such File or Directory Error"
Steps to reproduce:
- Create new project
- Select metadata subscriptions
- Click OK
Expected Behavior
- Metadata is retrieved and placed in the
src
directory
Actual Behavior:
- An alert is generated stating "no such file or directory" for each file (Screenshot 0)
- A new folder named "Unpackaged" is created in the project (Screenshot 1)
- The files within the Unpackaged folder are empty
Workaround:
Copy the contents of the "Unpackaged" directory into src
and run "Refresh Metadata"
Version:
Idea:
IntelliJ IDEA 2017.2.1
Build #IU-172.3544.35, built on July 31, 2017
JRE: 1.8.0_152-release-915-b6 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.12.8-2-ARCH
IC:
1.7.9.9 (SFDX Beta)
Build 20170813223311
Logs:
https://gist.github.com/jstvz/3ba80eb1153526e88fbe8bb5831383f1
Screenshots:
Comments (11)
-
repo owner -
reporter Thanks, Scott. Installed the topmost zip file, restarted, and called "Retrieve Metadata" on my test project, same results. IC has the same build number as above.
-
reporter - edited description
-
repo owner Okay, good to know. Let's go back to the official build and rerun it one more time with the following in Help>Debug Log Settings:
#com.illuminatedcloud.intellij.builder.ForceComMetadataRetriever
Then please send me the resulting
idea.log
and hopefully it'll tell me exactly what's going on. Thanks! -
reporter Switched to the official build and it is working as expected.
—James Estevez
-
reporter - attached idea.log
Log with debug flag using official build.
-
reporter - attached idea.log
Re-ran SFDX build with debug flag set.
-
repo owner - changed version to 1.8.0.4
-
repo owner - changed status to duplicate
Duplicate of
#714. -
repo owner Even though this one was logged first, I ended up getting traction on the issue in
#714so we'll merge into that one. The fix will be included with 1.8.0.4. -
repo owner - changed component to Metadata Deployment/Retrieval/Removal
- Log in to comment
James, I apologize for the issue. Do you mind seeing if the same problem occurs with the SFDX test build attached here:
https://bitbucket.org/RoseSilverSoftware/illuminatedcloud/issues/554/salesforce-dx-support
The mechanisms for reconciling retrieved files and local files has changed in the SFDX builds and may well fix the issue for you. I'll be merging that into the standard release very soon, so if that does resolve the issue, it'd be good to know so I don't debug something that's already fixed on another branch.
Please let me know either way and I'll help resolve the situation for you if that doesn't do it.