[GH-ISSUE #297] Selecting the last item in additional results with dimension crash the calculator #129

Open
opened 2026-05-06 13:15:37 +02:00 by BreizhHardware · 0 comments

Originally created by @Yaya-Cout on GitHub (Nov 9, 2022).
Original GitHub issue: https://github.com/UpsilonNumworks/Upsilon/issues/297

Describe the bug
When you select the last item of the additional result when using a unity, the calculator crash. If you select another element (e.g. the second one), the next item is selected.

To Reproduce
Steps to reproduce the behavior:

  1. Go to calculation
  2. Type 1_L
  3. Go to the additional results
  4. Select the last item
  5. See error

Expected behavior
The calculator should select the right element and not crash

Screenshots
image

Device (please complete the following information):

  • Linux simulator, N0110
  • Upsilon Version: 1.0.1-dev
  • Upsilon commit: 1d00d7d9d3
Originally created by @Yaya-Cout on GitHub (Nov 9, 2022). Original GitHub issue: https://github.com/UpsilonNumworks/Upsilon/issues/297 **Describe the bug** When you select the last item of the additional result when using a unity, the calculator crash. If you select another element (e.g. the second one), the next item is selected. **To Reproduce** Steps to reproduce the behavior: 1. Go to calculation 2. Type `1_L` 3. Go to the additional results 4. Select the last item 5. See error **Expected behavior** The calculator should select the right element and not crash **Screenshots** ![image](https://user-images.githubusercontent.com/67095734/200905038-2de8d86d-8816-4404-9c88-154ef3972c2f.png) **Device (please complete the following information):** - Linux simulator, N0110 - Upsilon Version: 1.0.1-dev - Upsilon commit: 1d00d7d9d3bda00405ef713523959635dccf993c
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Upsilon#129
No description provided.