This commit is contained in:
@@ -632,6 +632,7 @@ export default {
|
||||
let apiErrorCode = parseInt(vm.formState.serverError.code);
|
||||
//Not all server errors mean the form is invalid, exceptions here
|
||||
let formValid = false;
|
||||
|
||||
/*
|
||||
These errors are not the user's fault and no changes to the form are required
|
||||
so they may be temporary and user should be able to retry save
|
||||
@@ -694,10 +695,13 @@ export default {
|
||||
.translateStringWithMultipleKeys(ve.message)
|
||||
.then(result => {
|
||||
transMessage = result;
|
||||
console.log("Got Translation");
|
||||
});
|
||||
fldErr += ' - "' + transMessage + '"';
|
||||
ret.push(fldErr);
|
||||
} else {
|
||||
ret.push(fldErr);
|
||||
}
|
||||
ret.push(fldErr);
|
||||
});
|
||||
|
||||
//Update the form status
|
||||
@@ -705,6 +709,7 @@ export default {
|
||||
vm: vm,
|
||||
valid: false
|
||||
});
|
||||
console.log("done - Returning");
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -378,7 +378,6 @@ export default {
|
||||
let res = await window.$gz.api.remove(url);
|
||||
if (res.error) {
|
||||
vm.formState.serverError = res.error;
|
||||
debugger;
|
||||
window.$gz.form.setErrorBoxErrors(vm);
|
||||
} else {
|
||||
//workaround to prevent warning about leaving dirty record
|
||||
|
||||
Reference in New Issue
Block a user