SUPPORT-9339: Fix

This commit is contained in:
Eduard Tihomirov 2025-09-12 10:27:54 +03:00
parent 9df894b78e
commit ede5bf85a0
2 changed files with 7 additions and 2 deletions

View file

@ -548,11 +548,13 @@ public class EmployeeInfoFileUploadService {
.newDocumentBuilder()
.parse(mchdFile.getInputStream());
doc.getDocumentElement().normalize();
Node node = doc.getElementsByTagNameNS("*", "СвДов").item(0);
Node node = doc.getElementsByTagName("СвДов").item(0);
if (node != null && node.getAttributes().getNamedItem("НомДовер") != null) {
return node.getAttributes().getNamedItem("НомДовер").getNodeValue();
}
return null;
else {
throw new FileUploadException("Cannot parse mchd guid");
}
}
private boolean sendMessage(String message) {

View file

@ -71,9 +71,12 @@ export class ErvuFileUploadWithAdditionalFiles extends ErvuFileUpload {
.map(notUploadeditem => notUploadeditem.file.name)
.join(', ')}.`);
}
this.fileInputEl.value = null;
this.uploader.clearQueue();
this.mchdFileUploadRef.uploader.clearQueue();
this.mchdFileUploadRef.fileInputEl.value = null;
this.signFileUploadRef.uploader.clearQueue();
this.signFileUploadRef.fileInputEl.value = null;
this.isDropZoneVisible = true;
this.isFilesListVisible = true;
this.isProgressBarVisible = false;