{"action":"opened","issue":{"url":"https://api.github.com/repos/CartoDB/cartodb/issues/7875","repository_url":"https://api.github.com/repos/CartoDB/cartodb","labels_url":"https://api.github.com/repos/CartoDB/cartodb/issues/7875/labels{/name}","comments_url":"https://api.github.com/repos/CartoDB/cartodb/issues/7875/comments","events_url":"https://api.github.com/repos/CartoDB/cartodb/issues/7875/events","html_url":"https://github.com/CartoDB/cartodb/issues/7875","id":160595461,"number":7875,"title":"The visualization is not updated if you save the SQL custom when the map is new","user":{"login":"nobuti","id":1366843,"avatar_url":"https://avatars.githubusercontent.com/u/1366843?v=3","gravatar_id":"","url":"https://api.github.com/users/nobuti","html_url":"https://github.com/nobuti","followers_url":"https://api.github.com/users/nobuti/followers","following_url":"https://api.github.com/users/nobuti/following{/other_user}","gists_url":"https://api.github.com/users/nobuti/gists{/gist_id}","starred_url":"https://api.github.com/users/nobuti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nobuti/subscriptions","organizations_url":"https://api.github.com/users/nobuti/orgs","repos_url":"https://api.github.com/users/nobuti/repos","events_url":"https://api.github.com/users/nobuti/events{/privacy}","received_events_url":"https://api.github.com/users/nobuti/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CartoDB/cartodb/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/CartoDB/cartodb/labels/editor-3","name":"editor-3","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-16T07:30:58Z","updated_at":"2016-06-16T07:30:58Z","closed_at":null,"body":"Steps to reproduce:\r\n\r\n- Create a new map\r\n- Go to the SQL editor and change the default query to a custom one\r\n- CMD + S (nothing happens but all it's saved).\r\n- F5\r\n- Repeat steps 2 and 3 and see that the map is updated to show the result properly\r\n\r\nAs @viddo says, the problem is most likely that when reloaded the analysis is given to `cdb` through the vizjson, so the node and query exists, while when “fresh” `cdb` discards the node/query changes. If you compare the `map?stat` requests there’s no analyses on a fresh map, until a non-source node is created\r\nbut once reloaded it includes the analysis.\r\n\r\n"}}
{"actor":{"display_login":"nobuti"}}