Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1127487

Summary: REGRESSION A project search of zero results causes IndexOutOfBoundsException
Product: [Retired] Zanata Reporter: Damian Jansen <djansen>
Component: Component-LogicAssignee: Alex Eng <aeng>
Status: CLOSED WORKSFORME QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: high Docs Contact:
Priority: high    
Version: 3.4CC: mkim, zanata-bugs
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-17 02:06:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Stack trace of exception none

Description Damian Jansen 2014-08-07 00:21:38 UTC
Created attachment 924678 [details]
Stack trace of exception

Description of problem:
If the user searches for a project and comes up with no results, an exception is thrown.
This originally showed a search results list with "No results found"

Version-Release number of selected component (if applicable):
3.4

How reproducible:
Easy always

Steps to Reproduce:
1. Log in
2. Enter some text into the project search field that does not match any project
  - Will show a "Search Zanata for..." link
3. Click the search link

Actual results:
An unexpected error has occurred. Please report this problem with details of what you were attempting.

Expected results:
A search results list with "No results found"

Additional info:

Comment 1 Damian Jansen 2014-12-17 02:06:04 UTC
Tested on 3.6-snapshot. Works fine.