When displaying an Maintenance Document with an attachment, the file is not shown. Instead it looks like the Maintenance Document does not have any attachments associated with it.
Kuali Coeus is using file attachments with the "Sponsor Form Template" maintenance document, where this behavior is occurring. Other maintenance documents with this issue may exist.
The root cause is that the FileForm property is used to redisplay the attached file. However, FileForm is not persisted and therefore is always null.
Attached are screen shots showing the issue and what one would expect if it worked correctly.
I also attached sample app code for testing the issue (rice version 22.214.171.124).
- maintenance_document_attachment_not_displayed_v1.patch - source code
- maintenance_document_attachment_not_displayed_v1.sql - database table creation script
- AttachmentTest.xml - KEW injection file