Commit 61a161d4 authored by Simone Giannecchini's avatar Simone Giannecchini
Browse files

Merge pull request #1294 from geoserver/GEOS-7267-2.7

Backport Fix for GEOS-7267
parents 686cc7a8 4b3beb2e
......@@ -88,7 +88,7 @@ public abstract class CatalogUtils {
if (info==null || catalog==null)
throw new NullArgumentException("Arguments may never be null");
final StyleInfo localObject = catalog.getStyleByName(info.getName());
final StyleInfo localObject = catalog.getStyleByName(info.getWorkspace(),info.getName());
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