Bug 1037925 - Search Projects field not character limited
Search Projects field not character limited
Status: CLOSED CURRENTRELEASE
Product: Zanata
Classification: Community
Component: Performance (Show other bugs)
development
Unspecified Unspecified
unspecified Severity high
: ---
: 3.3
Assigned To: Alex Eng
Zanata-QA Mailling List
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-04 00:27 EST by Damian Jansen
Modified: 2014-03-20 01:47 EDT (History)
2 users (show)

See Also:
Fixed In Version: 3.3.0-SNAPSHOT (20131223-0915)
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-03-20 01:47:37 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)
Screenshot (206.98 KB, image/png)
2013-12-04 00:27 EST, Damian Jansen
no flags Details

  None (edit)
Description Damian Jansen 2013-12-04 00:27:08 EST
Created attachment 832415 [details]
Screenshot

Description of problem:
The Search Projects field, on the Projects page, does not appear to have a character limit.
This means a ridiculous number of character can be entered which has a negative performance impact on the browser and server.

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

How reproducible:
Easy always

Steps to Reproduce:
1. Go to $server/zanata/projects
2. Enter a massive amount of text into the project search bar (like Gutenberg's Moby Dick!)
3. Press Search
4. Wait for it...

Actual results:
It displays the entire text, prefixed with "Found 0 Projects matching query" 

Expected results:
I doubt anyone would need more than 256 characters in a search.

Additional info:
Comment 1 Alex Eng 2013-12-19 16:26:24 EST
Project search field now is limit to 100 character, given it searches through slug (40 char max), name (40 char max), and description(100 char max)
Comment 2 Damian Jansen 2013-12-22 20:10:10 EST
Verified at cd51a1620e283882a8eb26cd862314b48af67617
Comment 3 Sean Flanigan 2014-03-20 01:47:37 EDT
Closing VERIFIED bugs for Zanata server 3.3.2.

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