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

CSV,XML,XLS file download buttons on collections does not work on inquiry screen

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0-rc1
    • Fix Version/s: 2.4.1
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-12461Library - CSV/XML/XLS export not working
      KULRICE-12373Data Tables layout covering up CSV/XML/XLS buttons
      KULRICE-9487Inquiry export button does not open file download dialog
      KULRICE-10591Replace table export buttons with icons
      KULRICE-6776inquiry screen close button does nothing
      KULRICE-7257Lightbox close/cancel buttons not working
      KULRICE-4771Show/Hide buttons affect incorrect rows on Inquiry with multiple collections
      KULRICE-2562"Save" button on Preferences screen does not appear to work
      KULRICE-10809File uploads on collections do not behave correctly
      KULRICE-10011Cannot download note attachments on documents
    • Rice Module:
      KRAD
    • KRAD Feature Area:
      UIF Component
    • Application Requirement:
      Rice
    • Sprint:
      2.5.0-m2 Sprint 3
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      Relates to the CSV, XML, and XLS file download buttons that appear on the upper right of collections.

      The buttons initially work as expected. but after click on an inquiry link which brings up a lightbox, and then closing the lightbox. The file download buttons throw a null pointer exception.
      at org.kuali.rice.krad.web.form.InquiryForm.postBind(InquiryForm.java:55)

      Error occurs in Chrome (v28) but all is OK in IE (v10)

      To recreate on KRAD Sampleapp:
      Go to Demo
      Select Travel Account Inquiry
      On the KRAD Travel Inquiry test page:
      1. Click a link on the page to open an inquiry in lightbox.
      2. Close the lightbox
      3. Click any of the CSV, XML, XLS file download buttons on the collections
      Should throw the NPE

        Issue Links

          Activity

          Hide
          Daniel Seibert (Inactive) added a comment -

          Only seems to happen on Inquiry View page.
          On other pages with collections, if you follow the same steps to recreate the problem, it all works OK

          Could it be from InquiryForm being used both on the main page and the lightbox?

          Show
          Daniel Seibert (Inactive) added a comment - Only seems to happen on Inquiry View page. On other pages with collections, if you follow the same steps to recreate the problem, it all works OK Could it be from InquiryForm being used both on the main page and the lightbox?
          Hide
          Shannon Hess added a comment -

          The error had changed, but there was still an issue with file downloads on inquiry screens due to the changes in UifServletRequestDataBinder.bind() for KULRICE-11723 on 2/16/2014. The bind method used to skip getting the view if it was an ajax request, but that has changed. I fixed the new issues by making changes to InquiryViewTypeServiceImpl.getParametersFromRequest so that it does not throw an exception if the request is an ajax request.

          Show
          Shannon Hess added a comment - The error had changed, but there was still an issue with file downloads on inquiry screens due to the changes in UifServletRequestDataBinder.bind() for KULRICE-11723 on 2/16/2014. The bind method used to skip getting the view if it was an ajax request, but that has changed. I fixed the new issues by making changes to InquiryViewTypeServiceImpl.getParametersFromRequest so that it does not throw an exception if the request is an ajax request.

            People

            • Assignee:
              Shannon Hess
              Reporter:
              Daniel Seibert (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 6 hours
                6h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours Time Not Required
                2h

                  Agile

                    Structure Helper Panel