Project

General

Profile

Actions

Bug #7214

closed

Metacat overwrites the deployDir property

Added by Chris Jones over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
metacat
Target version:
-
Start date:
10/04/2017
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:

Description

On a fresh installation of Metacat, the application.deployDir property value gets overwritten. This is undesirable for Docker deployments where the Metacat Admin UI is not used for configuration, but rather the metacat.properties file is pre-configured for deployment. Fix this. It looks to be happening in the PropertiesAdmin.configureProperties() method:

PropertyService.setPropertyNoPersist("application.deployDir",
                        SystemUtil.discoverDeployDir(request));

Look at the consequences of not calling discoverDeployDir() and perhaps remove this. Needs review.


Related issues

Is duplicate of Metacat - Bug #7211: Metacat sets a wrong default value for the deploy path during the totally fresh installationClosedJing Tao10/03/2017

Actions
Actions

Also available in: Atom PDF