Cartodb: Previous style is applied after reopening a map and applying a new style

Created on 19 Jan 2017  路  7Comments  路  Source: CartoDB/cartodb

Steps to Reproduce

Please break down here below all the needed steps to reproduce the issue

  1. Create a map selecting ne_10m_railroads dataset
  2. Style color layer based upon cartodb_id field from the UI
  3. Back to the main menu
  4. Open the map again
  5. Change style using the CartoCSS panel:
#layer {
  line-width: 1.5;
  line-color: ramp([cartodb_id], (#00e6a4,#a7e369, #e6de00,#ed8d36,#e60042), jenks);
  line-opacity: 0.9;
}
  1. Apply (clicking or typing CTRL+S)

Current Result

  • A previous CartoCSS appears in the panel and the style associated with it is applied.
#layer {
  line-width: 1.5;
  line-color: ramp([cartodb_id], (#00e6a4,#a7e369, #e6de00,#ed8d36,#e60042), jenks);
}

cartocss

  • Surprisingly, moving with the arrow you can go back and then forward to the "last" CartoCSS and apply again.

Expected result

  • CartoCSS and style should be applied correctly.

Browser and version

  • Google Chrome v54.

.carto file

Frontend bug

All 7 comments

Thanks @ramiroaznar for your report, already fixed (not deployed yet) with https://github.com/CartoDB/cartodb/commit/6d8fecf6e9cbbd2cdf45fb0fdd8132e5fcdb12e3.

This is still happening. For instance, when changing a popup, it resets the style.

We are still on it @ramiroaznar, we haven't deployed anything yet (check status in the builder project board). Well, issue is not closed so..

this is happening to me too.

Deploying to ded02 for acceptance. Build number 1153.

@ramiroaznar fancy passing acceptance?

Deployed in production.

@ramiroaznar 's life will be better from now on.

Was this page helpful?
0 / 5 - 0 ratings