The code.ill.fr has been recreated and upgraded with the latest version this weekend, If you encounter any problem please inform the Helpdesk.

Commit 19eb075a authored by helene ortiz's avatar helene ortiz
Browse files

Fix bug: Method to get instruments allowing PAL files used the computer

name instead of the instrument name.
parent 83f9c1dc
4.0.31 13/08/2020
------
* Get NomadServerEndpoint from ServerInstance instead of ConfigManager (the latter does not take account of main/remote client types)
* Fix bug: Method to get instruments allowing PAL files used the computer name instead of the instrument name.
4.0.29 27/07/2020
------
......
......@@ -281,9 +281,9 @@ public class ConfigManager {
this.preferences = preferences;
}
public boolean allowPALfile(String instrumentName) {
public boolean allowPALfile() {
if (instrumentsAllowingPALFiles != null) {
return instrumentsAllowingPALFiles.contains(instrumentName);
return instrumentsAllowingPALFiles.contains(SessionManager.getInstance(CommandZoneWrapper.SERVER_ID).getInstrumentName().toLowerCase());
}
return false;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment