After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 619826 - don't clean-up search terms before storing them in history
don't clean-up search terms before storing them in history
Status: RESOLVED OBSOLETE
Product: tracker
Classification: Core
Component: Search Tool
git master
Other Linux
: Normal normal
: ---
Assigned To: tracker-search-tool
Jamie McCracken
Depends on:
Blocks:
 
 
Reported: 2010-05-27 13:44 UTC by Tshepang Lekhonkhobe
Modified: 2010-05-27 14:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
a fix (2.62 KB, patch)
2010-05-27 13:47 UTC, Tshepang Lekhonkhobe
none Details | Review
better fix (2.57 KB, patch)
2010-05-27 14:39 UTC, Tshepang Lekhonkhobe
none Details | Review

Description Tshepang Lekhonkhobe 2010-05-27 13:44:53 UTC
The only processing done on the terms before inserting them into history:
* stripping leading trailing whitespace
* normalization

(see https://bugzilla.gnome.org/show_bug.cgi?id=619504#c4 for reference)
Comment 1 Tshepang Lekhonkhobe 2010-05-27 13:47:26 UTC
Created attachment 162099 [details] [review]
a fix
Comment 2 Tshepang Lekhonkhobe 2010-05-27 14:39:34 UTC
Created attachment 162108 [details] [review]
better fix

for search & history, don't clean-up search terms 

* TST was trying to be smart by cleaning-up  search terms
  (removing non-alphanumeric characters) before using them to
  query as well as before storing them in history.
* This change allows TST to send the search terms as-is to
  tracker-store, but as for history, it first strips both leading 
  and trailing whitespace, while also applying normalization.
Comment 3 Martyn Russell 2010-05-27 14:57:45 UTC
Thanks for taking the time to report this bug.
However, you are using a version that is too old and not supported anymore. GNOME developers are no longer working on that version, so unfortunately there will not be any bug fixes for the version that you use.

By upgrading to a newer version of GNOME you could receive bug fixes and new functionality. You may need to upgrade your Linux distribution to obtain a newer version of GNOME.
Please feel free to reopen this bug if the problem still occurs with a newer version of GNOME.

See bug #619504