Skip to content

Commit adc71f6

Browse files
author
zaharchenko
committed
Incorrect working directory used to upload config file after changes in CUBA 7.2 #27
1 parent 6c2f523 commit adc71f6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

modules/gui/src/com/haulmont/addon/admintools/gui/config_loader/ConfigLoader.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ public class ConfigLoader extends AbstractWindow {
5858
@Override
5959
public void init(Map<String, Object> params) {
6060
super.init(params);
61-
configDir = Paths.get(configuration.getConfig(GlobalConfig.class).getConfDir()).getParent();
62-
helpLabel.setValue(String.format(getMessage("helpMessage"), configuration.getConfig(GlobalConfig.class).getConfDir()));
61+
configDir = Paths.get(configuration.getConfig(GlobalConfig.class).getConfDir());
62+
helpLabel.setValue(String.format(getMessage("helpMessage"), configDir.normalize()));
6363
}
6464

6565
public void apply() {

0 commit comments

Comments
 (0)