Skip to content
Snippets Groups Projects
Commit 15ca46bb authored by Chris Hines's avatar Chris Hines
Browse files

The submit cmd is getting the default path prepended to it, even when the full path is explicit

parent 83192ca7
No related branches found
No related tags found
1 merge request!117Revert "Revert "Add MLeRP Monash""
Pipeline #103532 passed
......@@ -7,6 +7,7 @@ import { TesService } from '../tes.service';
import { Strudelapp, AppAction } from '../strudelapp';
import { Job } from '../job';
import { BatchInterface } from '../batchinterface';
import { Identity } from '../identity';
......@@ -82,6 +83,8 @@ export class LaunchformComponent {
let bi = new BatchInterface();
bi.submitcmd = this.app.submitcmd;
let id: Identity = this.identity.copy_skip_catalog() // we should nullify the submitcmdprefix as this is only used with the old iframe method
id.site.submitcmdprefix = null;
let app = new Strudelapp()
app = JSON.parse(JSON.stringify(this.app))
let submitparams = JSON.parse(JSON.stringify(this.data))
......@@ -90,7 +93,7 @@ export class LaunchformComponent {
app.startscript = btoa(JSON.stringify(submitparams))
let appparams = this.data;
this.tes.submit(app,this.identity,bi);
this.tes.submit(app,id,bi);
}
}
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