PNBR#72480 melding accepteren via api2 met opmerking gaf token_validate error

svn path=/Website/branches/v2022.1/; revision=55841
This commit is contained in:
Jos Groot Lipman
2022-05-09 15:11:32 +00:00
parent 25a95427a5
commit 99ecfb3e54
3 changed files with 5 additions and 3 deletions

View File

@@ -515,7 +515,8 @@ function model_issues(mld_key, params)
processor: processor,
treatmentteam: treatmentteam,
canFOwrite: this_mld.canFOwrite,
canBOwrite: this_mld.canBOwrite
canBOwrite: this_mld.canBOwrite,
noValidateToken: true
}
mld.acceptmelding(mld_key, params);
}

View File

@@ -99,7 +99,8 @@ mld = {
mld_note_save(mld_key,
remark,
{ isFE: false,
zichtFE: true /* altijd */
zichtFE: true, /* altijd */
noValidateToken: params.noValidateToken
});
}
if (setLines.length > 0)

View File

@@ -708,7 +708,7 @@ notes =
{
fields.push({ dbs: params.table + "_note_key", typ: "key", seq: params.module.toLowerCase() + "_s_" + params.table + "_note_key" });
var noteIns = buildInsert(params.table + "_note", fields);
var noteIns = buildInsert(params.table + "_note", fields, { noValidateToken: params.noValidateToken });
note_key = noteIns.sequences[params.table + "_note_key"];
Oracle.Execute(noteIns.sql);
}