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
- 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+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 6313
- Created
- Thursday 06 April, 2017 16:05:17 UTC
by Philippe Cloutier - LastModif
- Wednesday 10 May, 2017 20:24:03 UTC