Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

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.

Post History

66%
+2 −0
Q&A Searching tags with a string with more than two characters results in a 500

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...

posted 2mo ago by Michael‭  ·  edited 2mo ago by Michael‭

Answer
#4: Post edited by user avatar Michael‭ · 2024-04-04T19:54:09Z (2 months ago)
It's not no-result searches.
  • 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`][1] on [Software][2]. 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][3] and [Trichoplax][4]'s 2-char demos for putting me on this track.
  • [1]: https://software.codidact.com/categories/38/tags?q=z
  • [2]: https://software.codidact.com
  • [3]: https://meta.codidact.com/users/8046
  • [4]: https://meta.codidact.com/users/53890
  • ~~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`][1] on [Software][2]. 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][3] and [Trichoplax][4]'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%`.
  • [1]: https://software.codidact.com/categories/38/tags?q=z
  • [2]: https://software.codidact.com
  • [3]: https://meta.codidact.com/users/8046
  • [4]: https://meta.codidact.com/users/53890
#3: Post edited by user avatar meta user‭ · 2024-04-04T16:00:59Z (2 months ago)
changed in=>on, added hyperlink to SD Codidact, enhanced attribution by adding hyperlinks to profiles
  • 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`][1] in 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.
  • [1]: https://software.codidact.com/categories/38/tags?q=z
  • 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`][1] on [Software][2]. 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][3] and [Trichoplax][4]'s 2-char demos for putting me on this track.
  • [1]: https://software.codidact.com/categories/38/tags?q=z
  • [2]: https://software.codidact.com
  • [3]: https://meta.codidact.com/users/8046
  • [4]: https://meta.codidact.com/users/53890
#2: Post edited by user avatar Michael‭ · 2024-04-04T15:12:46Z (2 months ago)
Wild speculation. Monica also found a 2-char
  • 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`][1] in Software.
  • Thanks to [Trichoplax's 2-char demo][2] for putting me on this track.
  • [1]: https://software.codidact.com/categories/38/tags?q=z
  • [2]: https://meta.codidact.com/comments/thread/9428
  • 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`][1] in 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.
  • [1]: https://software.codidact.com/categories/38/tags?q=z
#1: Initial revision by user avatar Michael‭ · 2024-04-04T15:09:41Z (2 months ago)
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`][1] in Software.

Thanks to [Trichoplax's 2-char demo][2] for putting me on this track.


[1]: https://software.codidact.com/categories/38/tags?q=z
[2]: https://meta.codidact.com/comments/thread/9428