[Geoserver-devel] [jira] (GEOS-6557) GeoServerPersister unnecessarily copies absolute file referenced in style

Ben Caradoc-Davies created an issue

GeoServer / BugGEOS-6557

GeoServerPersister unnecessarily copies absolute file referenced in style

Issue Type:

BugBug

Affects Versions:

2.6-beta

Assignee:

Andrea Aime

Components:

Global

Created:

29/Jun/14 10:27 PM

Priority:

MinorMinor

Reporter:

Ben Caradoc-Davies

See discussion:
https://github.com/geoserver/geoserver/pull/628

Kevin wrote:

The test is for when the Persister moves an SLD between workspaces. It tries to copy any images used by the style via relative URLs to locations in the style directory for the original workspace to that of the new workspace so that the relative references will still work.

This test checks that if the SLD refers to an image via a full URL, that the referenced image is not copied (the reference works just fine with the style in the new location as the URL is absolute) The failure means it’s copying the image despite not needing to, and it’s copying it to a location where it’s not going to look for it anyway.

See also:

http://osgeo-org.1560.x6.nabble.com/Build-failed-in-Jenkins-geoserver-master-600-tp5147692p5148268.html

And GEOS-6551.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo