Welcome to Codidact Meta!
Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.
Comments on Searching tags with a string with more than two characters results in a 500
Parent
Searching tags with a string with more than two characters results in a 500
Trying to filter tags with a string bigger than two characters results in an internal server error (500).
Example URLs:
- https://software.codidact.com/categories/38/tags?q=dat
- https://electrical.codidact.com/categories/26/tags?q=dat
Other details:
- it seems to affect multiple communities
- it does not matter if I am logged in or not
- filtering works fine if I use a filter string with less or equal to two characters. Example: https://electrical.codidact.com/categories/26/tags?q=da
Post
I suspect it's a 500 if the search is not found in any tags. I can reproduce with a single-char search of z
on Software. This is wild speculation, but maybe there's some item access that can't deal with a null or empty array of results.
Thanks to Monica and Trichoplax's 2-char demos for putting me on this track.
Update
There's a serialization
tag, so it can't be based on empty results, at least not if the search is just %term%
.
3 comment threads