diff --git a/lib/cartodb/models/mapconfig/adapter/aggregation-mapconfig-adapter.js b/lib/cartodb/models/mapconfig/adapter/aggregation-mapconfig-adapter.js index b674a435..310610d3 100644 --- a/lib/cartodb/models/mapconfig/adapter/aggregation-mapconfig-adapter.js +++ b/lib/cartodb/models/mapconfig/adapter/aggregation-mapconfig-adapter.js @@ -1,7 +1,8 @@ const AggregationProxy = require('../../aggregation/aggregation-proxy'); const { MapConfig } = require('windshaft').model; -const MISSING_AGGREGATION_COLUMNS = 'There are missing columns to perform aggregation'; +const MISSING_AGGREGATION_COLUMNS = 'Missing columns in the aggregation. The map-config defines cartocss expressions,'+ +' interactivity fields or attributes that are not present in the aggregation'; module.exports = class AggregationMapConfigAdapter { getMapConfig (user, requestMapConfig, params, context, callback) { diff --git a/test/acceptance/aggregation.js b/test/acceptance/aggregation.js index 6aa93dd7..8939358b 100644 --- a/test/acceptance/aggregation.js +++ b/test/acceptance/aggregation.js @@ -3,7 +3,8 @@ require('../support/test_helper'); const assert = require('../support/assert'); const TestClient = require('../support/test-client'); const serverOptions = require('../../lib/cartodb/server_options'); -const MISSING_AGGREGATION_COLUMNS = 'There are missing columns to perform aggregation'; +const MISSING_AGGREGATION_COLUMNS = 'Missing columns in the aggregation. The map-config defines cartocss expressions,'+ + ' interactivity fields or attributes that are not present in the aggregation'; const suites = [{ desc: 'mvt (mapnik)', @@ -61,7 +62,7 @@ describe('aggregation', function () { suites.forEach((suite) => { const { desc, usePostGIS } = suite; - describe.only(desc, function () { + describe(desc, function () { const originalUsePostGIS = serverOptions.renderer.mvt.usePostGIS; before(function () {