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

            dsiebert Daniel Seibert (Inactive) created issue -
            dsiebert Daniel Seibert (Inactive) made changes -
            Field Original Value New Value
            Link This issue discovered by KULRICE-9859 [ KULRICE-9859 ]
            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?
            gilesp Peter Giles (Inactive) made changes -
            Fix Version/s 2.4 [ 16913 ]
            Fix Version/s 2.3 [ 16595 ]
            jcoltrin Jessica Coltrin (Inactive) made changes -
            Fix Version/s 2.4.0-m2 [ 17036 ]
            spatterson Shem Patterson (Inactive) made changes -
            Workflow custom [ 205155 ] Copy of custom for rice [ 208211 ]
            spatterson Shem Patterson (Inactive) made changes -
            Workflow Copy of custom for rice [ 208211 ] custom [ 217959 ]
            spatterson Shem Patterson (Inactive) made changes -
            Workflow custom [ 217959 ] Rice Workflow [ 227707 ]
            jcoltrin Jessica Coltrin (Inactive) made changes -
            Fix Version/s 2.4.0-m2 [ 17036 ]
            acampbell Adam Campbell (Inactive) made changes -
            Component/s Development [ 11244 ]
            Component/s Quality Assurance [ 11245 ]
            jcoltrin Jessica Coltrin (Inactive) made changes -
            Issue Type Task [ 3 ] Bug Fix [ 1 ]
            cniesen Claus Niesen made changes -
            Fix Version/s 2.4.1 [ 17516 ]
            Fix Version/s 2.4 [ 16913 ]
            gilesp Peter Giles (Inactive) made changes -
            Original Estimate 6 hours [ 21600 ]
            gilesp Peter Giles (Inactive) made changes -
            Remaining Estimate 6 hours [ 21600 ]
            gilesp Peter Giles (Inactive) made changes -
            Sprint 2.5.0-m2 Sprint 3 [ 284 ]
            gilesp Peter Giles (Inactive) made changes -
            Rank Ranked lower
            shahess Shannon Hess made changes -
            Assignee Shannon Hess [ shahess ]
            shahess Shannon Hess made changes -
            Summary CSV,XML,XLS file download buttons on collections. Stop working on main page after a lightbox inquiry is opened and closed. CSV,XML,XLS file download buttons on collections does not work on inquiry screen
            shahess Shannon Hess made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            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.
            shahess Shannon Hess logged work - 23/Apr/14 12:38 AM
            • Time Spent:
              2 hours
               
              recreated problem, fixed, tested
            shahess Shannon Hess made changes -
            Remaining Estimate 6 hours [ 21600 ] 0 minutes [ 0 ]
            Time Spent 2 hours [ 7200 ]
            Worklog Id 95039 [ 95039 ]
            masargen Matt Sargent made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              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