{"action":"closed","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-intellij/issues/679","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-intellij","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-intellij/issues/679/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-intellij/issues/679/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-intellij/issues/679/events","html_url":"https://github.com/GoogleCloudPlatform/gcloud-intellij/issues/679","id":154788509,"number":679,"title":"Deployment settings are lost permanently when changing a deployment source and clicking 'Apply' or 'Ok'","user":{"login":"chanseokoh","id":10523105,"avatar_url":"https://avatars.githubusercontent.com/u/10523105?v=3","gravatar_id":"","url":"https://api.github.com/users/chanseokoh","html_url":"https://github.com/chanseokoh","followers_url":"https://api.github.com/users/chanseokoh/followers","following_url":"https://api.github.com/users/chanseokoh/following{/other_user}","gists_url":"https://api.github.com/users/chanseokoh/gists{/gist_id}","starred_url":"https://api.github.com/users/chanseokoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chanseokoh/subscriptions","organizations_url":"https://api.github.com/users/chanseokoh/orgs","repos_url":"https://api.github.com/users/chanseokoh/repos","events_url":"https://api.github.com/users/chanseokoh/events{/privacy}","received_events_url":"https://api.github.com/users/chanseokoh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-intellij/labels/App%20Engine","name":"App Engine","color":"fef2c0"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-intellij/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-13T19:55:45Z","updated_at":"2016-05-16T22:12:29Z","closed_at":"2016-05-16T22:12:29Z","body":"Steps to reproduce:\r\n\r\n1. Create a deploy configuration. Provide some valid settings, and close the config window.\r\n2. Open the config window again.\r\n3. Change a deployment source (e.g., from Maven source to file system source).\r\n - At this point, all settings will be reset. However, if we click 'Cancel', they values will be restored when we open the config window later.\r\n4. Click 'Ok' or 'Apply'. This will trigger validation error. Click 'Cancel' to close the window.\r\n5. Open the window again. Deployment source selection has been changed, and all the settings are lost."}}