Skip to content
Snippets Groups Projects
Commit 7b0f06bc authored by pkupczyk's avatar pkupczyk
Browse files

SP-816 / BIS-503 : SOB-125 make the Matlab client work with older servers

SVN: 29656
parent d61e3879
No related branches found
No related tags found
No related merge requests found
...@@ -697,8 +697,15 @@ class AuthenticatedState extends AbstractDssComponentState ...@@ -697,8 +697,15 @@ class AuthenticatedState extends AbstractDssComponentState
try try
{ {
return dataSetDss.getService().tryGetPathToDataSet(getSessionToken(), if (minorVersion < 8)
dataSetDss.getCode(), overrideStoreRootPathOrNull); {
return dataSetDss.getService().getPathToDataSet(getSessionToken(),
dataSetDss.getCode(), overrideStoreRootPathOrNull);
} else
{
return dataSetDss.getService().tryGetPathToDataSet(getSessionToken(),
dataSetDss.getCode(), overrideStoreRootPathOrNull);
}
} catch (IllegalArgumentException e) } catch (IllegalArgumentException e)
{ {
// We could not create a link, return null // We could not create a link, return null
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment