Project

General

Profile

« Previous | Next » 

Revision 6560

correctly check for missing config values during geoserver configuration

View differences:

src/edu/ucsb/nceas/metacat/admin/GeoserverAdmin.java
195 195

  
196 196
				
197 197
				// process the context/data dir
198
				if (context != null || dataDir != null) {
198
				if (context == null || dataDir == null) {
199 199
					validationErrors.add("Context and Data Directory cannot be null");
200 200
				} else {
201 201
					PropertyService.setPropertyNoPersist("geoserver.context", context);

Also available in: Unified diff