Bug #101151 Find gives an error message after 10 different searches
Submitted: 13 Oct 2020 11:39 Modified: 14 Oct 2020 11:55
Reporter: Web Rugby Email Updates:
Status: Verified Impact on me:
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:8.0.19, 8.0.21 OS:Microsoft Windows (10)
Assigned to: CPU Architecture:Any

[13 Oct 2020 11:39] Web Rugby
Editing a stored procedure in workbench.
T search for occurrences of a variable I copy the variable name into the Find box.
Then press the right or left arrows to search through the script.
This works fine for a while but after about 10 searches this error occurs.
It looks like the recent searches is not recycling its space when full and allowing the new search to displace the oldest search.

When the error occurs I get a popup:
Unexpected Error message
index out of range.  Must be non-negative and less than the size of the collection.
Parameter name: index

Workaround is to dismiss the error message.

How to repeat:
Edit a stored procedure and try to find more than 10 different 'words' using the Find facility
[14 Oct 2020 11:55] MySQL Verification Team

Thank you for the report.
Verified as described.

Ashwini Patil
[14 Oct 2020 11:56] MySQL Verification Team
8.0.21 test results

Attachment: 101151_test_results.PNG (image/png, text), 192.68 KiB.

[27 Oct 2020 12:39] MySQL Verification Team
Bug #101329 marked as duplicate of this one.