{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/AzureStorageExplorer/issues/552","repository_url":"https://api.github.com/repos/Microsoft/AzureStorageExplorer","labels_url":"https://api.github.com/repos/Microsoft/AzureStorageExplorer/issues/552/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/AzureStorageExplorer/issues/552/comments","events_url":"https://api.github.com/repos/Microsoft/AzureStorageExplorer/issues/552/events","html_url":"https://github.com/Microsoft/AzureStorageExplorer/issues/552","id":348658254,"node_id":"MDU6SXNzdWUzNDg2NTgyNTQ=","number":552,"title":"Getting error \"Unable to retrieve child resources. Details: Cannot read property 'connectionString' of undefined\"","user":{"login":"pauldispace","id":42138886,"node_id":"MDQ6VXNlcjQyMTM4ODg2","avatar_url":"https://avatars2.githubusercontent.com/u/42138886?v=4","gravatar_id":"","url":"https://api.github.com/users/pauldispace","html_url":"https://github.com/pauldispace","followers_url":"https://api.github.com/users/pauldispace/followers","following_url":"https://api.github.com/users/pauldispace/following{/other_user}","gists_url":"https://api.github.com/users/pauldispace/gists{/gist_id}","starred_url":"https://api.github.com/users/pauldispace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pauldispace/subscriptions","organizations_url":"https://api.github.com/users/pauldispace/orgs","repos_url":"https://api.github.com/users/pauldispace/repos","events_url":"https://api.github.com/users/pauldispace/events{/privacy}","received_events_url":"https://api.github.com/users/pauldispace/received_events","type":"User","site_admin":false},"labels":[{"id":1018555702,"node_id":"MDU6TGFiZWwxMDE4NTU1NzAy","url":"https://api.github.com/repos/Microsoft/AzureStorageExplorer/labels/:gear:%20quick%20access","name":":gear: quick access","color":"c5def5","default":false},{"id":862048909,"node_id":"MDU6TGFiZWw4NjIwNDg5MDk=","url":"https://api.github.com/repos/Microsoft/AzureStorageExplorer/labels/:x:%20bug","name":":x: bug","color":"e99695","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Microsoft/AzureStorageExplorer/milestones/9","html_url":"https://github.com/Microsoft/AzureStorageExplorer/milestone/9","labels_url":"https://api.github.com/repos/Microsoft/AzureStorageExplorer/milestones/9/labels","id":3486997,"node_id":"MDk6TWlsZXN0b25lMzQ4Njk5Nw==","number":9,"title":"1.5.0","description":"","creator":{"login":"MRayermannMSFT","id":21112697,"node_id":"MDQ6VXNlcjIxMTEyNjk3","avatar_url":"https://avatars1.githubusercontent.com/u/21112697?v=4","gravatar_id":"","url":"https://api.github.com/users/MRayermannMSFT","html_url":"https://github.com/MRayermannMSFT","followers_url":"https://api.github.com/users/MRayermannMSFT/followers","following_url":"https://api.github.com/users/MRayermannMSFT/following{/other_user}","gists_url":"https://api.github.com/users/MRayermannMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/MRayermannMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MRayermannMSFT/subscriptions","organizations_url":"https://api.github.com/users/MRayermannMSFT/orgs","repos_url":"https://api.github.com/users/MRayermannMSFT/repos","events_url":"https://api.github.com/users/MRayermannMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/MRayermannMSFT/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":7,"state":"open","created_at":"2018-07-10T20:43:59Z","updated_at":"2018-09-04T17:15:55Z","due_on":"2018-08-31T07:00:00Z","closed_at":null},"comments":11,"created_at":"2018-08-08T10:03:10Z","updated_at":"2018-09-05T17:44:39Z","closed_at":null,"author_association":"NONE","body":"**Storage Explorer Version**: v1.4.0 build 20180803.3\r\n\r\n**Platform/OS Version**: macOS\r\n**Architecture**: x64\r\n**Regression From**: N/A\r\n\r\n#### Steps to Reproduce: ####\r\n1. Install application\r\n2. Connect to local emulation\r\n3. Close application\r\n4. Reopen application\r\n\r\n#### Expected Experience: ####\r\nI should see my local storage emulation in the list on the left\r\n\r\n#### Actual Experience: ####\r\nNo data is shown in the sidebar, any attempt to refresh datasources or expand views results in the error message \"Unable to retrieve child resources. Details: Cannot read property 'connectionString' of undefined\"\r\n\r\n<img width=\"1920\" alt=\"fullscreen_07_08_2018__18_13\" src=\"https://user-images.githubusercontent.com/42138886/43830917-65d7a99e-9afa-11e8-9422-e468c7d36f4d.png\">\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/AzureStorageExplorer/issues/comments/418819011","html_url":"https://github.com/Microsoft/AzureStorageExplorer/issues/552#issuecomment-418819011","issue_url":"https://api.github.com/repos/Microsoft/AzureStorageExplorer/issues/552","id":418819011,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODgxOTAxMQ==","user":{"login":"craxal","id":3473026,"node_id":"MDQ6VXNlcjM0NzMwMjY=","avatar_url":"https://avatars1.githubusercontent.com/u/3473026?v=4","gravatar_id":"","url":"https://api.github.com/users/craxal","html_url":"https://github.com/craxal","followers_url":"https://api.github.com/users/craxal/followers","following_url":"https://api.github.com/users/craxal/following{/other_user}","gists_url":"https://api.github.com/users/craxal/gists{/gist_id}","starred_url":"https://api.github.com/users/craxal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craxal/subscriptions","organizations_url":"https://api.github.com/users/craxal/orgs","repos_url":"https://api.github.com/users/craxal/repos","events_url":"https://api.github.com/users/craxal/events{/privacy}","received_events_url":"https://api.github.com/users/craxal/received_events","type":"User","site_admin":false},"created_at":"2018-09-05T17:44:39Z","updated_at":"2018-09-05T17:44:39Z","author_association":"CONTRIBUTOR","body":"Very interesting. This key should be automatically generated at startup. We released 1.4.1 with a fix to address this very issue. Let's now try this to find out what's happening:\r\n\r\n**First verify that you are running v1.4.1! If not, please install the latest.**\r\n\r\n1. Launch Storage Explorer. Once launch finishes, check whether the aforementioned key is present or not in the credentials store.\r\n2. Hit F12 to open the dev tools. Search for \"TextEncrypter.js\" in the **Sources** tab.\r\n3. Locate the `getEncryptionKey` function and drop a breakpoint on lines 53 and 55:\r\n   ```js\r\n   if (!encryptionKey) {\r\n       encryptionKey = generateRandomBase64String(64);\r\n       se_storage_explorer_sdk_1.Host.executeOperation(\"PersistentStorage.Confidential.setItem\", { key: passwordKey, value: encryptionKey });\r\n   }\r\n   ```\r\n4. Hit Ctrl+R to refresh the app. The breakpoint should be hit and pause execution.\r\n5. Check the value for `passwordKey`, which should be \"Micrososft_StorageExplorer/app\". If not, continue execution until it is.\r\n6. Check the value for `encryptionKey`, which should contain a random sequence of around 20 characters. If it's empty, continue execution to the next breakpoint and check again. If it's something else, let us know!"}}
{"actor":{"display_login":"craxal"}}