Commit 78b45216 authored by Simone Giannecchini's avatar Simone Giannecchini
Browse files

fixing issue for unqualified layer and layergroup names

parent e6749a5f
......@@ -145,7 +145,7 @@ public abstract class CatalogUtils {
if (info==null || catalog==null)
throw new NullArgumentException("Arguments may never be null");
final LayerInfo localObject=catalog.getLayerByName(info.getName());
final LayerInfo localObject=catalog.getLayerByName(info.prefixedName());
if (localObject !=null){
return localObject;
......@@ -214,7 +214,7 @@ public abstract class CatalogUtils {
if (info==null || catalog==null)
throw new NullArgumentException("Arguments may never be null");
final LayerGroupInfo localObject=catalog.getLayerGroupByName(info.getName());
final LayerGroupInfo localObject=catalog.getLayerGroupByName(info.prefixedName());
if (localObject !=null){
return localObject;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment