GeoServer

limited list of SRS

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.7.0-RC1
  • Fix Version/s: 1.7.0-RC2
  • Component/s: Configuration
  • Labels:
    None
  • Environment:
    Windows 2003 Server
  • Number of attachments :
    0

Description

Müller ha scritto:
> Hello Andrea,
>
> Thanks for the tip. I had discovered this already. But there seem to
> be a problem or i do somethink wrong: I can set a limited list of SRS.
> Doing "Apply" & "Save", everythink is fine. But as soon as I do
> "Load" Geoservers drops the limited SRS completely.
>
> Is this per design?

Nope, it's not. Can you report the problem on jira.codehaus.org (it's out bug tracker).

Cheers
Andrea

Activity

Hide
Andrea Aime added a comment -

Gabriel, was this happening in 1.6.x? If not, it may be the legacy config readers are forgetting about this property

Show
Andrea Aime added a comment - Gabriel, was this happening in 1.6.x? If not, it may be the legacy config readers are forgetting about this property
Hide
Gabriel Roldán added a comment -

No, 1.6.x was ok. Looking into it, it seems the new catalog reader ignores the settings. The XMLConfigWriter is correctly storing the list of CRS's in services.xml, but the new LegacyServicesLoader does not loads that config option

Show
Gabriel Roldán added a comment - No, 1.6.x was ok. Looking into it, it seems the new catalog reader ignores the settings. The XMLConfigWriter is correctly storing the list of CRS's in services.xml, but the new LegacyServicesLoader does not loads that config option
Hide
Gabriel Roldán added a comment -

Justin, we have a regression on the catalog reader here, looking into it I'm not that sure how to fix it. I'm moving on to another task trying to reach RC2. When you have a sec please take a look into it and tell me how should I load the capabilitiesCrsList element, or schedule this one for 1.7.0, please?

Show
Gabriel Roldán added a comment - Justin, we have a regression on the catalog reader here, looking into it I'm not that sure how to fix it. I'm moving on to another task trying to reach RC2. When you have a sec please take a look into it and tell me how should I load the capabilitiesCrsList element, or schedule this one for 1.7.0, please?
Hide
Justin Deoliveira added a comment -

The problem is two fold:

1. The LegacyServicesLoader class needs to read this from the services.xml file
2. The WMSLoader class needs to use this value and initialize WMSInfo.getSRS().

You want to go ahead with the fix, if you are busy let me know and i can take this one on if need be.

Show
Justin Deoliveira added a comment - The problem is two fold: 1. The LegacyServicesLoader class needs to read this from the services.xml file 2. The WMSLoader class needs to use this value and initialize WMSInfo.getSRS(). You want to go ahead with the fix, if you are busy let me know and i can take this one on if need be.
Hide
Gabriel Roldán added a comment -

so LegacyServicesLoader just loads the element content as text and WMSLoader parses it into the appropriate data structure? (just a List<String> in this case)

Show
Gabriel Roldán added a comment - so LegacyServicesLoader just loads the element content as text and WMSLoader parses it into the appropriate data structure? (just a List<String> in this case)
Hide
Justin Deoliveira added a comment -

Sorry typo on my part, LegacyServicesLoader ==> LegacyServicesReader, But yes you are correct.

Show
Justin Deoliveira added a comment - Sorry typo on my part, LegacyServicesLoader ==> LegacyServicesReader, But yes you are correct.
Hide
Arne Kepp added a comment -

Fixed on 1.7.x so that it reads and checks the CRSs before adding them to the list

Show
Arne Kepp added a comment - Fixed on 1.7.x so that it reads and checks the CRSs before adding them to the list

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: