You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f9dcf30
Browse filesBrowse the repository at this point in the historyBrowse files
fix(core,plugin-grid): the could-not-look-up sentence is given only for the filter seam's refusal of the scope
A scoped lookup answers import_reference_scope_unqueryable only when a read
was refused INVALID_FIELD naming a scope field, read off the refusal's
declared code and fields. Every other all-refused lookup (no read on the
target, a driver fault) keeps the plain sentence. The sentence's remedy names
the target field the dependsOn entry filters by. The Import Wizard joins
several scope entries with the pack's own separator (grid.import.scopeSeparator).
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L6bhgWgMUXf5juNBhN6rLX
Copy file name to clipboardExpand all lines: .changeset/36794-wizard-reference-out-of-scope.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Metadata-protocol: none
12
12
13
13
The Import Wizard's dry run and completion screen render the import cell error `reference_out_of_scope` (#36794) with their own text, `"Design review" was found, but not under Project "Gemini"`, built from the cell error's `scope` (each scoping column by its label, with the cell the row gave it) and translated in all eleven UI locales (`grid.import.referenceOutOfScope`, `grid.import.scopeEntry`). The Wizard keys on the code and the structured `scope`, never on the server's sentence; a cell error with no `scope` shows the server's own sentence, already in the caller's locale.
14
14
15
-
The importer no longer reports a scoped lookup as `reference_out_of_scope` when none of its scoped reads could run: a `dependsOn` whose `param` names a target field the engine cannot filter by (a `formula`) refuses every scoped read, so the scope was never asked. That cell keeps `reference_not_found`, with its own catalog sentence `import_reference_scope_unqueryable` in all four platform locales, which says the lookup could not be made within the scope and that the field's `dependsOn`needs another column. No unscoped probe runs for it and it carries no `scope`.
15
+
The importer no longer reports a scoped lookup as `reference_out_of_scope` when the engine refused its scoped reads because of the scope: a `dependsOn` whose `param` names a target field the engine cannot filter by (a `formula`) has every scoped read refused (`INVALID_FIELD` naming that field), so the scope was never asked. That cell keeps `reference_not_found`, with its own catalog sentence `import_reference_scope_unqueryable` in all four platform locales, which says the lookup could not be made within the scope and that the `dependsOn`entry should point at a stored target field. No unscoped probe runs for it and it carries no `scope`. A scoped lookup whose reads are all refused for any other reason (no read access to the target, say) keeps the plain `no record matches` sentence.
16
16
17
17
Wording: `ImportRowResultSchema.errors` and the runner's `ImportRowResult.errors` now say that a `reference_out_of_scope` element carries `scope`; the error catalog page says `scope` names the row's own scoping columns, not the parent's.
0 commit comments