Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continue evaluation on error #339

Open
harmtemolder opened this issue Sep 26, 2024 · 0 comments
Open

Continue evaluation on error #339

harmtemolder opened this issue Sep 26, 2024 · 0 comments
Labels
bug Something isn't working needs-review A newly created issue that has not yet been processed

Comments

@harmtemolder
Copy link

Describe the bug

It used to be the case that if a row could not be calculated because of incorrect values, evaluation of the rest of the table would continue (see rows 2475 and 2479 in the screenshot below, calculated a while back). Probably since updating to version 0.22.0 this does not happen any longer. My developer console shows Uncaught Error: [DecimalError] Invalid argument: ?.

To Reproduce

Caluclating

| 1   | 2   | 1\*2 |
| --- | --- | ---- |
| 1   | 2   |      |
| 1   | b   |      |
| 1   | 2   |      |
<!-- TBLFM: @2$3..@>$3=($1*$2) -->

results in

Uncaught Error: [DecimalError] Invalid argument: b

Expected behavior

| 1   | 2   | 1\*2 |
| --- | --- | ---- |
| 1   | 2   | 2    |
| 1   | b   |      |
| 1   | 2   | 2    |
<!-- TBLFM: @2$3..@>$3=($1*$2) -->

or possibly

| 1   | 2   | 1\*2 |
| --- | --- | ---- |
| 1   | 2   | 2    |
| 1   | b   | NaN  |
| 1   | 2   | 2    |
<!-- TBLFM: @2$3..@>$3=($1*$2) -->

Screenshots

image

Desktop (please complete the following information):

  • OS: Manjaro Linux
  • Obsidian Version: v1.6.7
  • Advanced Tables Version: 0.22.0
@harmtemolder harmtemolder added bug Something isn't working needs-review A newly created issue that has not yet been processed labels Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-review A newly created issue that has not yet been processed
Projects
None yet
Development

No branches or pull requests

1 participant