fix(meta-edit, epf-validate): у внешней обработки/отчёта нет команд объекта и модуля менеджера (#108)

Платформа выбрасывает Command из внешней обработки/отчёта при сборке
(«не является подчиненным»), а Ext/ManagerModule.bsl — вовсе без
сообщения; epf-build при этом сообщает об успехе. Цепочка молча теряла
написанное: meta-edit добавлял команду, epf-validate её пропускал.

meta-edit: внешние типы внесены в таблицу допустимых детей — команду
не добавляет, предупреждает. epf-validate: Command и ManagerModule.bsl —
ошибки с пояснением.

Refs #108

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Nick Shirokov
2026-09-26 15:20:06 +03:00
co-authored by Claude Opus 5.5
parent 372510bbc4
commit 5d1b5cdf74
12 changed files with 195 additions and 12 deletions
@@ -1693,6 +1693,9 @@ valid_child_types = {
"Task": ["attributes", "tabularSections", "forms", "templates", "commands"],
"Report": ["attributes", "tabularSections", "forms", "templates", "commands"],
"DataProcessor": ["attributes", "tabularSections", "forms", "templates", "commands"],
# Внешняя обработка/отчёт: команд объекта нет — платформа выбрасывает их при сборке.
"ExternalDataProcessor": ["attributes", "tabularSections", "forms", "templates"],
"ExternalReport": ["attributes", "tabularSections", "forms", "templates"],
"Enum": ["enumValues", "forms", "templates", "commands"],
"InformationRegister": ["dimensions", "resources", "attributes", "forms", "templates", "commands"],
"AccumulationRegister": ["dimensions", "resources", "attributes", "forms", "templates", "commands"],