[KULRICE-8353] Lookup controller does not check return of validation call Created: 30/Sep/12  Updated: 03/Apr/13  Resolved: 30/Sep/12

Status: Closed
Project: Kuali Rice Development
Component/s: Development
Affects Version/s: None
Fix Version/s: 2.2.0-m4, 2.2
Security Level: Public (Public: Anyone can view)

Type: Bug Fix Priority: Critical
Reporter: Venkat PremChandran (Inactive) Assignee: Jerry Neal (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
cloned from KULRICE-7208 Template Closed
Rice Module:
KAI Review Status: Not Required
KTI Review Status: Not Required


LookupController.search() calls lookupable.validateSearchParameters() but it doesn't use the return value to determine performSearch(). Please add a check before calling performSearch() (It's in rice 2.2 M3)

// validate search parameters
lookupable.validateSearchParameters(lookupForm, lookupForm.getLookupCriteria());

Collection<?> displayList = lookupable.performSearch(lookupForm, lookupForm.getLookupCriteria(), true);

Generated at Thu Mar 04 15:18:09 CST 2021 using JIRA 7.0.11#70121-sha1:19d24976997c1d95f06f3e327e087be0b71f28d4.