Loading...
 
Skip to main content

Admin textarea: Filtering silently ignores short words in plugins tab

Status
Open
Subject
Admin textarea: Filtering silently ignores short words in plugins tab
Version
17.x
17.x Regression
Category
  • Error
Feature
Admin Interface (UI)
Resolution status
Please retest
Submitted by
Philippe Cloutier
Volunteered to solve
Jonny Bradley
Lastmod by
Philippe Cloutier, Jonny Bradley
Rating
(0)
Description

tiki-admin.php?page=textarea#contentadmin_textarea-2 had its main section (Plugins) changed in r61597. It mostly works now, but there is still a problem when searching for short terms, i.e. those under ft_min_word_len (for MyISAM; the limit for InnoDB tables is controlled by a different variable).

If the query contains nothing but terms under the limit, all plugins are displayed. If the query contains at least one sufficiently long term, the too short terms are ignored.

One solution would be to display a warning about short terms next to "Plugins found containing: foo".

I am however wondering if we couldn't just go back to the previous code, which didn't have this problem (adapted to not show all plugins by default?). I guess one important reason for the change was to speed up page load, but page generation takes about 7 seconds here, which appears to be the same as, for example, Admin Profiles, so the gain is not obvious.

Trying to revert the change causes important conflicts.

Related: issue 6307

Solution
Made it optional in r62527 and it defaults to off and experimental (still can't find some plugins even with elasticsearch - most odd...)
Importance
2
Easy to solve?
6
Priority
12
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6313
Created
Thursday 06 April, 2017 16:05:17 UTC
by Philippe Cloutier
LastModif
Wednesday 10 May, 2017 20:24:03 UTC


Show PHP error messages