Uploaded image for project: 'Kuali Rice Development'
  1. Kuali Rice Development
  2. KULRICE-5106

Maintenance Document does not display attached file

    Details

    • Type: Bug Fix
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.3.1
    • Fix Version/s: 1.0.3.2
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Rice Module:
      KNS
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      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 1.0.3.2).

      • 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

        Attachments

          Issue Links

            Activity

            Hide
            cniesen Claus Niesen added a comment -

            KULRICE-5106 The file name is now being displayed in maintenance documents, inquiries and lookups.

            Show
            cniesen Claus Niesen added a comment - KULRICE-5106 The file name is now being displayed in maintenance documents, inquiries and lookups.

              People

              • Assignee:
                cniesen Claus Niesen
                Reporter:
                cniesen Claus Niesen
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: