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

Inquiry - Support for displaying bo attachments and downloading


    • Type: Task Task
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Security Level: Public (Public: Anyone can view)
    • Labels:
    • Similar issues:
      KULRICE-10261Inquiry download custom BO attachments, KRAD support
      KULRICE-10571Inquiry download custom BO attachments, KRAD support
      KULRICE-10211Inquiry Gap Analysis: Downloading attachments linked to BOs
      KULRICE-7227NPE when trying to download multi-attachment from document that hasn't been routed/saved.
      KULRICE-10011Cannot download note attachments on documents
      KULRICE-12795Not able to download attachments in KRAD
      KULRICE-7280After downloading an attachment, exception is thrown on any action
      KULRICE-9487Inquiry export button does not open file download dialog
      KULRICE-2455Direct Inquiry for lookup field other than BO PK results in server error
      KULRICE-4905Display appropriate icon based on attachment type in Maintenance Documents
    • Rice Module:
    • KRAD Feature Area:
      Inquiry, Maintenance
    • Sprint:
      Core 2.5.0-m6 Sprint 2
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Include in Release Notes?:
    • Story Points:


      As a user of inquiries, I want to be able to see and download attachments from the inquiry view (both attachments associated with the doc and those associated with the BO), so that I can access the attachments without having to edit the doc.

      Inquiries in KRAD need support for displaying bo attachments on the inquiry and allowing them to be downloaded.

      There are two ways of downloading attachments from inquiries: from something of type PersistableAttachment or PersistableAttachmentList, and from custom parameters. The KNS code for the first can be found in KualiInquiryAction.downloadAttachment, and the KNS code for the second can be found in KualiInquiryAction.downloadCustomBOAttachment. The first is very much like what we do with maintenance documents, as seen in MaintenanceDocumentControllerServiceImpl. The second just takes raw parameters and allows the download based on those parameters.

      These two methods need to be integrated into the InquiryController and InquiryControllerServiceImpl just like they are in maintenance. The first method should be renamed to downloadDataObjectAttachment and the second method should be renamed to downloadCustomDataObjectAttachment for consistency. We should probably keep these separate for now.

      Also update the KNS2KRAD upgrade guide to show how to convert KNS to KRAD. Create a pre-commit code review as well.

        Issue Links



            • Assignee:
              Shannon Hess
              Jerry Neal (Inactive)
            • Votes:
              0 Vote for this issue
              2 Start watching this issue


              • Created:

                Time Tracking

                Original Estimate - 2 days Original Estimate - 2 days
                Remaining Estimate - 0 minutes
                Time Spent - 2 days, 2 hours
                2d 2h


                    Structure Helper Panel