Skip to content

fix(core): cast to Integer exception

Šárka Palkovičová requested to merge palko/STR-1224/fix_searcher into main

Description

fix(core): cast to Integer exception

  • Throws a proper exception when trying to cast value into Integer.

How to test

Open Searcher and try to search by string value for an attribute that should be an integer. Before, UNCATCHED_EXCEPTION was thrown, and now it will be an exception with a defined message.

Author's checklist

  • I have followed the contribution guidelines
  • This MR has been tested or does not change functionality
  • I have added relevant merge request dependencies (if this MR has any)
  • I have added the correct labels
  • I have assigned reviewers (if any are relevant)
  • I have edited the documentation (if the changes require it) or I have noted the need for the change if I do not have access to the documentation
  • I have marked all introduced BREAKING CHANGES or necessary DEPLOYMENT NOTES in the commit message(s)

Reviewer's checklist

  • This MR has been tested or does not change functionality
  • This MR has correct commit message format

Related issues

re STR-1224

Edited by Rastislav Kruták

Merge request reports