Uploaded image for project: '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
    • Status: Closed
    • Priority: 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
    • 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

        Attachments

          Issue Links

            Activity

            Hide
            shahess 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
            shahess 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.
            Hide
            dsiebert 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
            dsiebert 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?

              People

              • Assignee:
                shahess Shannon Hess
                Reporter:
                dsiebert 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