[KULRICE-10037] CSV,XML,XLS file download buttons on collections does not work on inquiry screen Created: 31/Jul/13  Updated: 26/Aug/14  Resolved: 23/Apr/14

Status: Closed
Project: Kuali Rice Development
Component/s: Development
Affects Version/s: 2.3.0-rc1
Fix Version/s: 2.4.1
Security Level: Public (Public: Anyone can view)

Type: Bug Fix Priority: Major
Reporter: Daniel Seibert (Inactive) Assignee: Shannon Hess
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0 minutes
Time Spent: 2 hours
Original Estimate: 6 hours

Issue Links:
discovered by KULRICE-9859 Coordinated developer testing for Ric... Closed
Rice Module:
KRAD Feature Area:
UIF Component
Application Requirement:
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?:


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

Comment by Daniel Seibert (Inactive) [ 31/Jul/13 ]

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?

Comment by Shannon Hess [ 23/Apr/14 ]

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.

Generated at Sat Sep 26 11:14:08 CDT 2020 using JIRA 7.0.11#70121-sha1:19d24976997c1d95f06f3e327e087be0b71f28d4.