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

Display appropriate icon based on attachment type in Maintenance Documents

    Details

    • Type: Task Task
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.3.2, 2.0
    • 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-5106Maintenance Document does not display attached file
      KULRICE-5363Inquiry - Support for displaying bo attachments and downloading
      KULRICE-6890make the note/attachment framework available for maintenance documents
      KULRICE-5809ComponentMaintenanceDocument document type missing
      KULRICE-1782Build Group Type
      KULRICE-5130Sample Maintenance Document for testing attachments
      KULRICE-7051The "Queue Document" button on the Document Operation screen may not be forwarding back to the appropriate application properly
      KULRICE-5118Old attachments in Maintenance Documents not showing except on a document reload
      KULRICE-2915When clicking on the lookup icon for "Parent Document Type" on the Document Type lookup, we need to change the label in the header of the page to read "Parent Document Type"
    • Rice Module:
      KNS
    • Application Requirement:
      KC
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      While maintaining the attachment associated with a Maintainable BO, we need appropriate file icons to be displayed based on the MIME type.

        Issue Links

          Activity

          Hide
          William Balderamos (Inactive) added a comment -

          See revision #16802.

          Show
          William Balderamos (Inactive) added a comment - See revision #16802.
          Hide
          Chitra Chandran added a comment - - edited

          The mimeTypeMapping for AttachmentService includes the directory structure (static/images).

          notes.tag's rendering of 'download attachment' link uses this value on top of the regular images path and this adds upto an incorrect filepath.

          <html:image property="methodToCall.downloadBOAttachment.attachment[$

          {status.index}

          ]" src="$

          {ConfigProperties.kr.externalizable.images.url}

          $

          {note.attachment.attachmentIconPathByMimeType}

          " title="download attachment" alt="download attachment" style="padding:5px" onclick="excludeSubmitRestriction=true"/>

          Show
          Chitra Chandran added a comment - - edited The mimeTypeMapping for AttachmentService includes the directory structure (static/images). notes.tag's rendering of 'download attachment' link uses this value on top of the regular images path and this adds upto an incorrect filepath. <html:image property="methodToCall.downloadBOAttachment.attachment[$ {status.index} ]" src="$ {ConfigProperties.kr.externalizable.images.url} $ {note.attachment.attachmentIconPathByMimeType} " title="download attachment" alt="download attachment" style="padding:5px" onclick="excludeSubmitRestriction=true"/>
          Hide
          Chitra Chandran added a comment -

          Have committed the fix for this. Attached are the images of filetype icon display on KC's Test Server showing the problem and same displayed with fix applied locally.

          Show
          Chitra Chandran added a comment - Have committed the fix for this. Attached are the images of filetype icon display on KC's Test Server showing the problem and same displayed with fix applied locally.
          Hide
          Rice-CI User (Inactive) added a comment -

          Integrated in rice-1.0.3.2-nightly #51 (See http://ci.rice.kuali.org/job/rice-1.0.3.2-nightly/51/)
          KULRICE-4905: Have modified the mimeTypeMapping for Attachment Service

          Show
          Rice-CI User (Inactive) added a comment - Integrated in rice-1.0.3.2-nightly #51 (See http://ci.rice.kuali.org/job/rice-1.0.3.2-nightly/51/ ) KULRICE-4905 : Have modified the mimeTypeMapping for Attachment Service
          Hide
          Jessica Coltrin (Inactive) added a comment -

          closing since 1.0.3.2 is released.

          Show
          Jessica Coltrin (Inactive) added a comment - closing since 1.0.3.2 is released.

            People

            • Assignee:
              William Balderamos (Inactive)
              Reporter:
              Chitra Chandran
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 4 hours
                2d 4h

                  Structure Helper Panel