dolfdijkstra / gst-foundation

Sites Global Foundation Project
Apache License 2.0
13 stars 14 forks source link

Scatter is not including the asset's type #27

Open fvillalba opened 10 years ago

fvillalba commented 10 years ago

The following lines produce a Map which does not include the asset type of the (module) asset being scattered:

        TemplateAsset moduleAsset = assetDao.read(id);
        if(moduleAsset != null) {
            Map<String,Object> module = new HashMap<String, Object>();
            module.putAll(new ScatteredAsset(moduleAsset.getDelegate()));