[Geoserver-devel] [jira] (GEOS-6505) Build failure in RESTMapperTest in path with spaces

Ben Caradoc-Davies created an issue

GeoServer / BugGEOS-6505

Build failure in RESTMapperTest in path with spaces

Issue Type:

BugBug

Affects Versions:

2.6-beta

Assignee:

Andrea Aime

Components:

REST

Created:

29/May/14 12:12 AM

Priority:

MajorMajor

Reporter:

Ben Caradoc-Davies

Failed tests: testWorkspaceConfig(org.geoserver.catalog.rest.RESTMapperTest)
testGlobalConfig(org.geoserver.catalog.rest.RESTMapperTest)
testStoreConfig(org.geoserver.catalog.rest.RESTMapperTest)

Failure is at this line in RESTMapperTest.testFile:
assertTrue(cs.getURL().contains(root));

cs.getURL is a url-encoded path (no authority), and root is not url-encoded, so the test fails if any component of root is not url-safe (e.g. spaces or non-ASCII characters).

Add Comment

Add Comment

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

Atlassian logo