diff --git a/server/portal/apps/workspace/api/views.py b/server/portal/apps/workspace/api/views.py index a603cd0ed..fe7ca77b8 100644 --- a/server/portal/apps/workspace/api/views.py +++ b/server/portal/apps/workspace/api/views.py @@ -301,6 +301,7 @@ def post(self, request, *args, **kwargs): if not execSystemId: app = _get_app(job_post["appId"], job_post["appVersion"], request.user) execSystemId = app["definition"].jobAttributes.execSystemId + if not job_post.get("appVersion"): app = _get_app(job_post["appId"], None, request.user) job_post["appVersion"] = app["definition"].version diff --git a/server/portal/settings/settings_custom.example.py b/server/portal/settings/settings_custom.example.py index 021148513..37bc88ee3 100644 --- a/server/portal/settings/settings_custom.example.py +++ b/server/portal/settings/settings_custom.example.py @@ -233,8 +233,14 @@ "debug": _DEBUG, "makeLink": True, "viewPath": True, - "compressApp": 'compress', - "extractApp": 'extract', + "compressApp": { + "id": "compress", + "version": "0.0.3" # Can be set to "" to use the latest version + }, + "extractApp": { + "id": "extract", + "version": "0.0.1" # Can be set to "" to use the latest version + }, "makePublic": False, "hideApps": False, "hideDataFiles": False, diff --git a/server/portal/settings/settings_default.py b/server/portal/settings/settings_default.py index ea734a781..18c261075 100644 --- a/server/portal/settings/settings_default.py +++ b/server/portal/settings/settings_default.py @@ -224,11 +224,11 @@ "viewPath": True, "compressApp": { "id": "compress", - "version": "0.0.3" + "version": "0.0.3" # Can be set to "" to use the latest version }, "extractApp": { "id": "extract", - "version": "0.0.1" + "version": "0.0.1" # Can be set to "" to use the latest version }, "makePublic": True, "hideApps": False,