OpenLayers preview does not work if authkey community module is enabled

Description

The authkey community module contains a URLMangler implementation to automatically add the authkey parameter to each request's KVP map.

Problem is, this breaks the OpenLayers-based layer preview, as the generated JavaScript looks like this:

But should instead look like this:

I.e. the query string is wrongly appended to the base URL.

Environment

None

Activity

Show:
Bernhard Kiselka
February 5, 2016, 10:43 AM
Stefano Costa
February 5, 2016, 11:03 AM

No, the PR was focused on fixing the OpenLayers preview, I'd need to take a look at the code to see what it takes to fix the GML link as well. Bernhard, would you like to try and provide a fix yourself?

Bernhard Kiselka
February 5, 2016, 12:28 PM
Edited

Ah, I see the changes are only in OpenLayersMapOutputFormat.java

I had a look at the code; but I got no idea where a fix would be situated.
So no, I don't like to provide a fix myself.

But maybe you also want a different bug...

Stefano Costa
February 5, 2016, 1:17 PM

Yes, please, open another issue. Thanks!

Andrea Aime
February 15, 2017, 11:48 AM

Mass closing all resolved issues not modified in the last 4 weeks

Fixed

Assignee

Stefano Costa

Reporter

Stefano Costa

Triage

None

Fix versions

Affects versions

Components

Priority

Medium