fixes #4674
Merge pull request #4699 from dotCMS/issue-4674-error-in-console-when-you-attach-a-file-to-spanish-content-workflow-task

fixes #4674