Skip to content
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

Error sorting layers #4241

Closed
juanignaciosl opened this issue Jun 30, 2015 · 2 comments
Closed

Error sorting layers #4241

juanignaciosl opened this issue Jun 30, 2015 · 2 comments
Labels

Comments

@juanignaciosl
Copy link
Contributor

This error was detected while doing the QA for #4138, but it's unrelated and has been reproduced with current master.

1.- Create a new empty public map.
2.- Add one orange polygon by hand.
3.- Create a new empty layer.
4.- Add one polygon by hand, overlapping partially the first one and change color to blue.
5.- Open the public map in an incognito window. Everything's ok.
6.- Change the order of the layers in the editor.
7.- Reload the public map. Layer order hasn't changed.

cc @xavijam @alonsogarciapablo

It might not happen the first time. If you change the order and it seems to work, change it again, reload, change it again and reload again, it happens.

@javisantana : what I've seen is that triggered PUT requests are not ok: there're two PUTs to the same id, although it looks like when it works PUTs should be to different ids. So, the backend doesn't update the order, and the three layers (tiled, cartodb, cartodb) of the map get 0, 2, 2.

Making tables public make no difference.

No, when the map is wrong header is X-Cache:MISS.

@javisantana
Copy link
Contributor

what is the order of the layers saved in backend?
are the tables public?
is the map cached the second time?

@xavijam
Copy link
Contributor

xavijam commented Jun 30, 2015

So finally this issue is gonna be solved with #4016.

@xavijam xavijam closed this as completed Jun 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants