Bug 1227575 - Exception on emptying the search field when many users were reported
Exception on emptying the search field when many users were reported
Status: CLOSED CURRENTRELEASE
Product: Zanata
Classification: Community
Component: Component-Logic (Show other bugs)
3.7
Unspecified Unspecified
unspecified Severity high
: ---
: 3.7
Assigned To: Alex Eng
Damian Jansen
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-03 00:11 EDT by Damian Jansen
Modified: 2015-07-21 22:19 EDT (History)
2 users (show)

See Also:
Fixed In Version: 3.7.0-SNAPSHOT (git-jenkins-zanata-server-github-pull-requests-3709)
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-07-21 22:19:41 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Damian Jansen 2015-06-03 00:11:46 EDT
Description of problem:
If the user enters a character like "a" into the search field, then deletes it, an exception occurs.

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

How reproducible:
Easy always

Steps to Reproduce:
1. With a large (eg. production size) database to test on, enter "a" into the project search
2. Delete the character

Actual results:
javax.servlet.ServletException: UT000047: The number of parameters exceeded the maximum of 1000

Expected results:
No response

Additional info:
Happens when the list of users returned by the "a" search is very large.
Comment 1 Alex Eng 2015-06-03 00:27:12 EDT
Issue cause by user search on top bar which we didn't limit the search result.

Pull request:
https://github.com/zanata/zanata-server/pull/844
Comment 2 Damian Jansen 2015-06-03 21:20:41 EDT
Verified at dedd1e9f0da49f4fbe9fe38861677d970fada27c

Note You need to log in before you can comment on or make changes to this bug.