BS-10845 - Provide an error when the Document type does not match the
File Widget type