-
Notifications
You must be signed in to change notification settings - Fork 167
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
FindRepository Fix #112
FindRepository Fix #112
Conversation
I've pushed a commit d87716d to solve this problem. This issue appear when |
Property Property |
And one more thing, according to the manual of Native AOT deployment overview, it's not recommanded to use |
Please refer to: #114 I'll be removing the reference System.Linq according to the AOT limitations |
Make sure that your device is properly mounted to the path |
Yes I'm 100% sure of this, it's my Main work disk, also this happens to me in macOS the Json get malformed sometimes. The problem it's not deleting the node from Json file, the problem is having duplicates nodes to save the same information for some reason store data in Repository nodes but not in Repository, you can restore this line cuz is fine, it's not the real problem. |
Please take a look at PR 114. Also take a look to the FS pictures I attached for this issue. |
I've test this pr by |
And duplicated node should also work if repository has not been removed from preference. We find the repository by the node's id. For example, I created two node that both points to the same repository manually. Both work well until the repository has been remove from property I do NOT think duplicated nodes will be the reason of issue #90. |
The problem I found in #90 was essentially a difference between "Repositories" and "RepositoryNodes" in some scenarios "Repositories" get an empty list when in other hand "RepositoryNodes" get elements inside, that make visible all repos in the UI but not accessible because it's not present in "Repositories"
This workaround basically copies existing repos from "RepositoryNodes" into Repositories when the user tries to open it, and for some reason this is not in the "Repository" node from the preferences.
I rather to check this Json file, because as far I saw this, looks like there is no need to have two "Repositories" nodes inside same Json file, but for now this is my workaround.