This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/master by this push:
     new f91ff1917 [OPENMEETINGS-2765] config creation is fixed
f91ff1917 is described below

commit f91ff1917027625f066a9007694a31d06e69df3a
Author: Maxim Solodovnik <solomax...@gmail.com>
AuthorDate: Fri Mar 31 22:50:23 2023 +0700

    [OPENMEETINGS-2765] config creation is fixed
---
 .../org/apache/openmeetings/installation/ImportInitvalues.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/openmeetings-install/src/main/java/org/apache/openmeetings/installation/ImportInitvalues.java
 
b/openmeetings-install/src/main/java/org/apache/openmeetings/installation/ImportInitvalues.java
index 14d4a4e6a..1f8f7ce01 100644
--- 
a/openmeetings-install/src/main/java/org/apache/openmeetings/installation/ImportInitvalues.java
+++ 
b/openmeetings-install/src/main/java/org/apache/openmeetings/installation/ImportInitvalues.java
@@ -251,12 +251,12 @@ public class ImportInitvalues {
                addCfg(list, CONFIG_DOCUMENT_QUALITY, 
String.valueOf(cfg.getDocQuality()), Configuration.Type.NUMBER,
                                "compression quality for conversion of PDF to 
images (should be an integer between 1 and 100, with a default value of 90)", 
VER_2_0);
 
-               addCfg(list, CONFIG_PATH_IMAGEMAGIC, cfg.getImageMagicPath(), 
Configuration.Type.STRING, "Path to ImageMagick tools", VER_2_0);
+               addCfg(list, CONFIG_PATH_IMAGEMAGIC, cfg.getImageMagicPath(), 
Configuration.Type.PATH, "Path to ImageMagick tools", VER_2_0);
 
-               addCfg(list, CONFIG_PATH_SOX, cfg.getSoxPath(), 
Configuration.Type.STRING, "Path To SoX-Tools", VER_2_0);
+               addCfg(list, CONFIG_PATH_SOX, cfg.getSoxPath(), 
Configuration.Type.PATH, "Path To SoX-Tools", VER_2_0);
 
-               addCfg(list, CONFIG_PATH_FFMPEG, cfg.getFfmpegPath(), 
Configuration.Type.STRING, "Path To FFMPEG", VER_2_0);
-               addCfg(list, CONFIG_PATH_OFFICE, cfg.getOfficePath(), 
Configuration.Type.STRING,
+               addCfg(list, CONFIG_PATH_FFMPEG, cfg.getFfmpegPath(), 
Configuration.Type.PATH, "Path To FFMPEG", VER_2_0);
+               addCfg(list, CONFIG_PATH_OFFICE, cfg.getOfficePath(), 
Configuration.Type.PATH,
                                "The path to OpenOffice/LibreOffice (optional) 
please set this to the real path in case jodconverter is unable to find 
OpenOffice/LibreOffice installation automatically", VER_2_0);
 
                addCfg(list, CONFIG_DASHBOARD_RSS_FEED1, cfg.getUrlFeed(), 
Configuration.Type.STRING, "Feed URL 1", VER_1_9);

Reply via email to