(core) When getting error details for on-demand formulas, provide an explanation

Summary:
Since formula errors are typically obtained from the Python data engine, they
were not returning any info for errors in on-demand tables (not loaded into the
data engine). This change implements a detailed message to explain such errors,
mainly to point out that on-demand table is the reason.

Test Plan: Added a check to the OnDemand test that formula error details are shown.

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D4317
This commit is contained in:
Dmitry S
2024-08-13 09:48:54 -04:00
parent 95320f3f5b
commit 5ef54b278f
3 changed files with 26 additions and 1 deletions

View File

@@ -480,6 +480,7 @@ function _isInIdentifier(line: string, column: number) {
/**
* Open a formula editor. Returns a Disposable that owns the editor.
* This is used for the editor in the side panel.
*/
export function openFormulaEditor(options: {
gristDoc: GristDoc,