CE-936 - Update setBlobValuesToDownloadUrls to only do this if the file has a fileDownload adornment

This commit is contained in:
2024-03-12 11:53:13 -05:00
parent a4cdbc429d
commit dabaafa482

View File

@ -490,6 +490,13 @@ public class QValueFormatter
{
adornmentValues = fileDownloadAdornment.get().getValues();
}
else
{
///////////////////////////////////////////////////////
// don't change blobs unless they are file-downloads //
///////////////////////////////////////////////////////
continue;
}
String fileNameField = ValueUtils.getValueAsString(adornmentValues.get(AdornmentType.FileDownloadValues.FILE_NAME_FIELD));
String fileNameFormat = ValueUtils.getValueAsString(adornmentValues.get(AdornmentType.FileDownloadValues.FILE_NAME_FORMAT));