searchTerm exceeds maximum string length
available in future release
Patroll
Search field seems to allow text input longer than the limit of 20 that causes an unfriendly raw error of "searchTerm exceeds maximum string length: ...", while it still seems to be properly searching for the given term. Only searching for text longer than 200 prevents the search.
So in summary right now:
- The input field has no text length limit.
- The error in alert is shown for length of >20.
- The actual length limit that prevents searching is >200.
---
Expected behavior:
A text field length limit should be set and the error should actually enforce blocking the search and should be human friendly.
Log In
This post was marked as
available in future release
StormRel
marked this post as
tracked
Patroll
It's a rather easy to hit error, you only need just like ~3 words.
E.g. you'll always hit it when using a different language and selecting the built-in recommended search for your language, which searches for a phrase containing 4 words: