fix(form-validate): context-aware Check 12 — ExternalDataProcessorObject is error in config

Detect config vs EPF context by walking up from FormPath looking for
Configuration.xml. ExternalDataProcessorObject/ExternalReportObject are
valid in EPF/ERF but cause XDTO exception in configuration context.

- EPF forms: no warning (ExternalDataProcessorObject is correct)
- Config forms: ERROR with hint to use DataProcessorObject/ReportObject
- Fix test DSLs: compiled-form, table-form used wrong External* type

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Nick Shirokov
2026-04-05 20:01:24 +03:00
co-authored by Claude Opus 4.6
parent 3bd69baae6
commit d5aacc9e60
6 changed files with 8 additions and 8 deletions
@@ -23,7 +23,7 @@
{ "button": "Выполнить", "command": "Выполнить" }
],
"attributes": [
{ "name": "Объект", "type": "ExternalDataProcessorObject.Валидация", "main": true },
{ "name": "Объект", "type": "DataProcessorObject.Валидация", "main": true },
{ "name": "Поле1", "type": "string" },
{ "name": "Поле2", "type": "decimal(15,2)" },
{ "name": "Флаг", "type": "boolean" }