|
Ian Turton created an issue |
WPS will pick the wrong PPIO for WFS when a PPIO that starts with a letter before W in the list |
Issue Type: |
|
---|---|
Affects Versions: |
2.11.1 |
Assignee: |
|
Components: |
WPS |
Created: |
07/Jul/17 2:35 PM |
Priority: |
|
Reporter: |
If you add another PPIO to the WPS that has a name that starts with a letter before W it will be picked for WFS sources that only declare thier mime-type as ‘text-xml’ as none of them match that. Note this is what the request builder uses as the mime type for local layers. {{// TODO: come up with some way to flag one as “default” { return null; } if (mime != null) { { return ppio; } } // if more than one sort by class hierarchy, pushing the most specific classes to the if (c1.equals(c2)) { return 0; } if (c1.isAssignableFrom(c2)) { return 1; } return -1; // fall back on the first found Just picks the first alphabetically. |
Get JIRA notifications on your phone! Download the JIRA Cloud app here. |
|
This message was sent by Atlassian JIRA (v1000.1110.0#100054-sha1:381c8dd) |
|