Joanna Jółkowska created an issue |
GeoServerPropertyConfigurer don’t fill config file with default property values |
Issue Type: |
Bug |
---|---|
Assignee: |
Unassigned |
Created: |
10/Jun/19 1:03 PM |
Priority: |
Medium |
Reporter: |
I can read in doc: If the file <tt>myDirectory/myFile.properties</tt> exists then the property values will be loaded {@link #setCopyOutTemplate(boolean)} can be used to control this. However, if the configuration file does not exist, it will be created but empty. This can be seen on the example of the geofence module. I compiled geoserver v.2.15.1 with geofence and goefence-server profiles and ran on an empty geoserver_data directory. The geofence directory has been created, including the geofence-db directory and files: geofence-datasource-ovr.properties, geofence-server.properties. However, these files are empty. I see that the code that populates the file with the default values is located in the catch block in the loadProperties method: |
Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS |
|
This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100104-sha1:f3b996f) |