Commit 686cc7a8 authored by Simone Giannecchini's avatar Simone Giannecchini
Browse files

Merge pull request #1290 from geosolutions-it/jms-fixes-2.7

Closes GEOS-7259
parents e6749a5f 78b45216
......@@ -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