cartodb-org / cartodb

Location Intelligence & Data Visualization tool
http://cartodb.com
BSD 3-Clause "New" or "Revised" License
3 stars 2 forks source link

Fix copy of export flags/category on library dataset import #271

Closed tylerparsons closed 6 years ago

tylerparsons commented 6 years ago

This ensures that the exportable, export_geom and category columns on the canonical table visualization record for a user match those of the library dataset from which it is copied.

This ensures that dataset export is blocked according to library dataset level flags, and also that datasets are correctly displayed within the category tree in the data library.

The issue was introduced when the logic for copying these fields was moved from the Table model to the UserTable model and the copying of these fields was not added to the new function.