Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-5106

Maintenance Document does not display attached file

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Major 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
    • Similar issues:
      KULRICE-5696Display appropriate icon based on attachment type for Persistable Attachments in Maintenance Documents
      KULRICE-4905Display appropriate icon based on attachment type in Maintenance Documents
      KULRICE-5130Sample Maintenance Document for testing attachments
      KULRICE-14134Exception adding attachment in maintenance document
      KULRICE-8339Validate attachment file size
      KULRICE-7244Maintenance Document multi-attachments sometimes throwing NPEs and downloading wrong files
      KULRICE-7309Cannot replace KNS single Maintenance Document attachments
      KULRICE-5236Maintenance Documents with Persistable attachments have some usability issues
      KULRICE-5118Old attachments in Maintenance Documents not showing except on a document reload
      KULRICE-2343deleting attachments doesn't work (was: Notes and attachments deletion doesn't work on maintenance documents)
    • 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

        Issue Links

          Activity

          Hide
          Claus Niesen added a comment -

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

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

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Structure Helper Panel