-
Notifications
You must be signed in to change notification settings - Fork 654
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
Spurious vizualization step discards data from second table #2145
Comments
Hi Clay, this is a bug. It should behave like you say on A. cc/ @iriberri |
The visualization remains with the two layers, the issue is that clicking on the "Table view" is using the URL of the first table (tablename/table) instead of the table view of the visualization (viz-id/table). So you get redirected to your actual table and you're no longer browsing your visualization (check that in your step 7 you're again in the "Visualize" process, which belongs to a table). If you check your saved visualizations, the two layers are there. The issue is that creating a visualization from a table is not updating the links in the view. |
Ah, got it, thanks. If creating a visualization from adding a second layer in Map view did update the links, would that also shift the upper-right button option from Visualize to Share? |
Yes, I think so. The problem is that right now we are only changing the browser URL and not triggering any changes in the UI: So if you reload the page after you've added the second table, everything will work as expected. |
Reloading works. It looks like the problem is that the URL is getting altered in the URL bar, but the URL attached to "Data View" is NOT updated when you are using the Map View for the second layer, and still sends me to |
@cshirky, we've pushed a fix that should solve this issue. Thanks for the nice bug report! |
Bad news, we had to rollback the change. I'm sorry about it. I'll let you know when it's fixed. |
We deployed a fix yesterday, so this should no longer be a problem. Sorry it took us so long to fix this issue! |
Carto now requires the creation of a visualization whenever a second layer is created in map view.
The interface reports that data added to this second layer gets saved, when in fact it is discarded, and the newly created layer is destroyed.
Steps to reproduce.
The workaround is to name a visualization in step #4, then click Visualize and name a second Visualization before step #6, making the named visualization in step #4 completely spurious, and the "Saving.../Saved" dialog inaccurate.
The right behaviors would be:
a) Making the visualization from step #4 save any subsequent layers or,
b) leaving the creation of a visualization to the Vizualize button, and just showing the user layered maps until they want to create a Visualization.
I prefer a, as it's closer to the right behavior, but either a or b would be much better than this.
The text was updated successfully, but these errors were encountered: