This commit is contained in:
Greg DiCristofaro 2023-05-23 14:50:39 -04:00
parent 35a353fcde
commit e7aab13f3d

View File

@ -632,9 +632,9 @@ public final class CaseMetadata {
}
this.fileContentPath = null;
NodeList caseElementChildren = caseElement.getElementsByTagName(FILE_CONTENT_PATH);
if (caseElementChildren.getLength() == 1) {
String fileContentTextPath = caseElementChildren.item(0).getTextContent();
NodeList fileContentChildren = doc.getElementsByTagName(FILE_CONTENT_PATH);
if (fileContentChildren.getLength() == 1) {
String fileContentTextPath = fileContentChildren.item(0).getTextContent();
if (StringUtils.isNotBlank(fileContentTextPath)) {
this.fileContentPath = fileContentTextPath;
}