fix(tests): correct ExternalDataProcessorObject→DataProcessorObject in config-context DSLs

Fix test DSLs that used ExternalDataProcessorObject (EPF type) for
DataProcessors inside configurations. Also fix: chart-of-accounts
(remove maxExtDimensionCount without ПВХТ), calculation-register
(remove actionPeriod without infrastructure), document-multiple-tabparts
(remove registerRecords referencing non-existent register),
role-compile/explicit-rights (add dimensions to empty InformationRegister).

Regenerated all affected snapshots.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Nick Shirokov
2026-04-05 20:10:49 +03:00
parent d5aacc9e60
commit 20adf4f463
32 changed files with 125 additions and 70 deletions
@@ -22,7 +22,7 @@
{ "input": "Булево", "path": "Булево" }
],
"attributes": [
{ "name": "Объект", "type": "ExternalDataProcessorObject.Типы", "main": true },
{ "name": "Объект", "type": "DataProcessorObject.Типы", "main": true },
{ "name": "Строка", "type": "string(200)" },
{ "name": "Число", "type": "decimal(10,0,nonneg)" },
{ "name": "Дата", "type": "dateTime" },
@@ -23,7 +23,7 @@
{ "input": "Результат", "path": "Результат", "multiLine": true, "height": 8, "readOnly": true }
],
"attributes": [
{ "name": "Объект", "type": "ExternalDataProcessorObject.Команды", "main": true },
{ "name": "Объект", "type": "DataProcessorObject.Команды", "main": true },
{ "name": "Результат", "type": "string" }
],
"commands": [
+1 -1
View File
@@ -22,7 +22,7 @@
{ "label": "Подсказка", "title": "Нажмите для перехода", "hyperlink": true, "on": ["Click"] }
],
"attributes": [
{ "name": "Объект", "type": "ExternalDataProcessorObject.События", "main": true },
{ "name": "Объект", "type": "DataProcessorObject.События", "main": true },
{ "name": "Организация", "type": "string" },
{ "name": "Период", "type": "date" }
]
@@ -29,7 +29,7 @@
]}
],
"attributes": [
{ "name": "Объект", "type": "ExternalDataProcessorObject.ЗагрузкаИзФайла", "main": true },
{ "name": "Объект", "type": "DataProcessorObject.ЗагрузкаИзФайла", "main": true },
{ "name": "ИмяФайла", "type": "string" },
{ "name": "ПерваяСтрокаЗаголовок", "type": "boolean" },
{ "name": "Результат", "type": "string" }
+1 -1
View File
@@ -26,7 +26,7 @@
]}
],
"attributes": [
{ "name": "Объект", "type": "ExternalDataProcessorObject.СГруппами", "main": true },
{ "name": "Объект", "type": "DataProcessorObject.СГруппами", "main": true },
{ "name": "Поле1", "type": "string" },
{ "name": "Поле2", "type": "decimal(15,2)" },
{ "name": "Поле3", "type": "date" }
@@ -24,7 +24,7 @@
{ "check": "Флаг", "path": "Флаг", "title": "Включено" }
],
"attributes": [
{ "name": "Объект", "type": "ExternalDataProcessorObject.ПоляВвода", "main": true },
{ "name": "Объект", "type": "DataProcessorObject.ПоляВвода", "main": true },
{ "name": "ОбычноеПоле", "type": "string(100)" },
{ "name": "МногострочноеПоле", "type": "string" },
{ "name": "ПолеПароля", "type": "string(50)" },
+1 -1
View File
@@ -31,7 +31,7 @@
]}
],
"attributes": [
{ "name": "Объект", "type": "ExternalDataProcessorObject.Мастер", "main": true },
{ "name": "Объект", "type": "DataProcessorObject.Мастер", "main": true },
{ "name": "Параметр1", "type": "string" },
{ "name": "Итог", "type": "string" }
],
@@ -35,7 +35,7 @@
<Attributes>
<Attribute name="Объект" id="13">
<Type>
<v8:Type>cfg:ExternalDataProcessorObject.Типы</v8:Type>
<v8:Type>cfg:DataProcessorObject.Типы</v8:Type>
</Type>
<MainAttribute>true</MainAttribute>
</Attribute>
@@ -36,7 +36,7 @@
<Attributes>
<Attribute name="Объект" id="9">
<Type>
<v8:Type>cfg:ExternalDataProcessorObject.Команды</v8:Type>
<v8:Type>cfg:DataProcessorObject.Команды</v8:Type>
</Type>
<MainAttribute>true</MainAttribute>
</Attribute>
@@ -47,7 +47,7 @@
<Attributes>
<Attribute name="Объект" id="10">
<Type>
<v8:Type>cfg:ExternalDataProcessorObject.События</v8:Type>
<v8:Type>cfg:DataProcessorObject.События</v8:Type>
</Type>
<MainAttribute>true</MainAttribute>
</Attribute>
@@ -79,7 +79,7 @@
<Attributes>
<Attribute name="Объект" id="18">
<Type>
<v8:Type>cfg:ExternalDataProcessorObject.ЗагрузкаИзФайла</v8:Type>
<v8:Type>cfg:DataProcessorObject.ЗагрузкаИзФайла</v8:Type>
</Type>
<MainAttribute>true</MainAttribute>
</Attribute>
@@ -69,7 +69,7 @@
<Attributes>
<Attribute name="Объект" id="15">
<Type>
<v8:Type>cfg:ExternalDataProcessorObject.СГруппами</v8:Type>
<v8:Type>cfg:DataProcessorObject.СГруппами</v8:Type>
</Type>
<MainAttribute>true</MainAttribute>
</Attribute>
@@ -91,7 +91,7 @@
<Attributes>
<Attribute name="Объект" id="19">
<Type>
<v8:Type>cfg:ExternalDataProcessorObject.ПоляВвода</v8:Type>
<v8:Type>cfg:DataProcessorObject.ПоляВвода</v8:Type>
</Type>
<MainAttribute>true</MainAttribute>
</Attribute>
@@ -81,7 +81,7 @@
<Attributes>
<Attribute name="Объект" id="19">
<Type>
<v8:Type>cfg:ExternalDataProcessorObject.Мастер</v8:Type>
<v8:Type>cfg:DataProcessorObject.Мастер</v8:Type>
</Type>
<MainAttribute>true</MainAttribute>
</Attribute>
@@ -41,7 +41,7 @@
<Attributes>
<Attribute name="Объект" id="16">
<Type>
<v8:Type>cfg:ExternalDataProcessorObject.Таблица</v8:Type>
<v8:Type>cfg:DataProcessorObject.Таблица</v8:Type>
</Type>
<MainAttribute>true</MainAttribute>
</Attribute>
+1 -1
View File
@@ -23,7 +23,7 @@
]}
],
"attributes": [
{ "name": "Объект", "type": "ExternalDataProcessorObject.Таблица", "main": true },
{ "name": "Объект", "type": "DataProcessorObject.Таблица", "main": true },
{ "name": "Данные", "type": "ValueTable", "columns": [
{ "name": "Дата", "type": "date" },
{ "name": "Сумма", "type": "decimal(15,2)" },
@@ -14,7 +14,7 @@
"script": "form-compile/scripts/form-compile",
"input": {
"title": "Реквизиты",
"attributes": [{ "name": "Объект", "type": "ExternalDataProcessorObject.Реквизиты", "main": true }]
"attributes": [{ "name": "Объект", "type": "DataProcessorObject.Реквизиты", "main": true }]
},
"args": { "-JsonPath": "{inputFile}", "-OutputPath": "{workDir}/DataProcessors/Реквизиты/Forms/Форма/Ext/Form.xml" }
}
@@ -14,7 +14,7 @@
"script": "form-compile/scripts/form-compile",
"input": {
"title": "Команды",
"attributes": [{ "name": "Объект", "type": "ExternalDataProcessorObject.КомандыТест", "main": true }]
"attributes": [{ "name": "Объект", "type": "DataProcessorObject.КомандыТест", "main": true }]
},
"args": { "-JsonPath": "{inputFile}", "-OutputPath": "{workDir}/DataProcessors/КомандыТест/Forms/Форма/Ext/Form.xml" }
}
@@ -14,7 +14,7 @@
"script": "form-compile/scripts/form-compile",
"input": {
"title": "Тест",
"attributes": [{ "name": "Объект", "type": "ExternalDataProcessorObject.Тест", "main": true }],
"attributes": [{ "name": "Объект", "type": "DataProcessorObject.Тест", "main": true }],
"elements": [
{ "input": "Поле1", "path": "Поле1", "title": "Поле 1" }
]
@@ -14,7 +14,7 @@
"script": "form-compile/scripts/form-compile",
"input": {
"title": "Группа",
"attributes": [{ "name": "Объект", "type": "ExternalDataProcessorObject.Группа", "main": true }],
"attributes": [{ "name": "Объект", "type": "DataProcessorObject.Группа", "main": true }],
"elements": [
{ "input": "Поле1", "path": "Поле1", "title": "Существующее поле" }
]
@@ -13,7 +13,7 @@
<Attributes>
<Attribute name="Объект" id="1">
<Type>
<v8:Type>cfg:ExternalDataProcessorObject.Реквизиты</v8:Type>
<v8:Type>cfg:DataProcessorObject.Реквизиты</v8:Type>
</Type>
<MainAttribute>true</MainAttribute>
</Attribute>
@@ -20,7 +20,7 @@
<Attributes>
<Attribute name="Объект" id="1">
<Type>
<v8:Type>cfg:ExternalDataProcessorObject.КомандыТест</v8:Type>
<v8:Type>cfg:DataProcessorObject.КомандыТест</v8:Type>
</Type>
<MainAttribute>true</MainAttribute>
</Attribute>
@@ -37,7 +37,7 @@
<Attributes>
<Attribute name="Объект" id="4">
<Type>
<v8:Type>cfg:ExternalDataProcessorObject.Тест</v8:Type>
<v8:Type>cfg:DataProcessorObject.Тест</v8:Type>
</Type>
<MainAttribute>true</MainAttribute>
</Attribute>
@@ -60,7 +60,7 @@
<Attributes>
<Attribute name="Объект" id="4">
<Type>
<v8:Type>cfg:ExternalDataProcessorObject.Группа</v8:Type>
<v8:Type>cfg:DataProcessorObject.Группа</v8:Type>
</Type>
<MainAttribute>true</MainAttribute>
</Attribute>
@@ -5,8 +5,6 @@
"name": "Начисления",
"chartOfCalculationTypes": "ChartOfCalculationTypes.ВидыНачислений",
"periodicity": "Month",
"actionPeriod": true,
"basePeriod": true,
"dimensions": ["Сотрудник: CatalogRef.Сотрудники"],
"resources": ["Результат: Number(15,2)", "ОтработаноДней: Number(5,0)"]
},
@@ -5,9 +5,8 @@
"name": "Хозрасчетный",
"codeLength": 4,
"descriptionLength": 120,
"maxExtDimensionCount": 3,
"accountingFlags": ["Валютный", "Количественный"],
"extDimensionAccountingFlags": ["СуммовойУчет"]
"maxExtDimensionCount": 0,
"accountingFlags": ["Валютный", "Количественный"]
},
"validatePath": "ChartsOfAccounts/Хозрасчетный",
"expect": {
@@ -3,7 +3,6 @@
"input": {
"type": "Document",
"name": "РеализацияТоваров",
"registerRecords": ["AccumulationRegister.Продажи"],
"attributes": [
"Организация: CatalogRef.Организации",
"Контрагент: CatalogRef.Контрагенты",
@@ -45,8 +45,8 @@
<AuxiliaryListForm/>
<ChartOfCalculationTypes>ChartOfCalculationTypes.ВидыНачислений</ChartOfCalculationTypes>
<Periodicity>Month</Periodicity>
<ActionPeriod>true</ActionPeriod>
<BasePeriod>true</BasePeriod>
<ActionPeriod>false</ActionPeriod>
<BasePeriod>false</BasePeriod>
<Schedule/>
<ScheduleValue/>
<ScheduleDate/>
@@ -42,7 +42,7 @@
<Comment/>
<UseStandardCommands>true</UseStandardCommands>
<ExtDimensionTypes/>
<MaxExtDimensionCount>3</MaxExtDimensionCount>
<MaxExtDimensionCount>0</MaxExtDimensionCount>
<CodeMask/>
<CodeLength>4</CodeLength>
<DescriptionLength>120</DescriptionLength>
@@ -522,38 +522,6 @@
<ChoiceHistoryOnInput>Auto</ChoiceHistoryOnInput>
</Properties>
</AccountingFlag>
<ExtDimensionAccountingFlag uuid="UUID-018">
<Properties>
<Name>СуммовойУчет</Name>
<Synonym>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Суммовой учет</v8:content>
</v8:item>
</Synonym>
<Comment/>
<Type>
<v8:Type>xs:boolean</v8:Type>
</Type>
<PasswordMode>false</PasswordMode>
<Format/>
<EditFormat/>
<ToolTip/>
<MarkNegatives>false</MarkNegatives>
<Mask/>
<MultiLine>false</MultiLine>
<ExtendedEdit>false</ExtendedEdit>
<MinValue xsi:nil="true"/>
<MaxValue xsi:nil="true"/>
<FillChecking>DontCheck</FillChecking>
<ChoiceParameterLinks/>
<ChoiceParameters/>
<QuickChoice>Auto</QuickChoice>
<ChoiceForm/>
<LinkByType/>
<ChoiceHistoryOnInput>Auto</ChoiceHistoryOnInput>
</Properties>
</ExtDimensionAccountingFlag>
</ChildObjects>
</ChartOfAccounts>
</MetaDataObject>
@@ -192,9 +192,7 @@
<RegisterRecordsDeletion>AutoDelete</RegisterRecordsDeletion>
<RegisterRecordsWritingOnPost>WriteModified</RegisterRecordsWritingOnPost>
<SequenceFilling>AutoFill</SequenceFilling>
<RegisterRecords>
<xr:Item xsi:type="xr:MDObjectRef">AccumulationRegister.Продажи</xr:Item>
</RegisterRecords>
<RegisterRecords/>
<PostInPrivilegedMode>true</PostInPrivilegedMode>
<UnpostInPrivilegedMode>true</UnpostInPrivilegedMode>
<IncludeHelpInContents>false</IncludeHelpInContents>
@@ -5,7 +5,9 @@
"script": "meta-compile/scripts/meta-compile",
"input": {
"type": "InformationRegister",
"name": "Цены"
"name": "Цены",
"dimensions": ["Номенклатура: String(100)"],
"resources": ["Цена: Number(15,2)"]
},
"args": {
"-JsonPath": "{inputFile}",
@@ -169,6 +169,97 @@
<UpdateDataHistoryImmediatelyAfterWrite>false</UpdateDataHistoryImmediatelyAfterWrite>
<ExecuteAfterWriteDataHistoryVersionProcessing>false</ExecuteAfterWriteDataHistoryVersionProcessing>
</Properties>
<ChildObjects/>
<ChildObjects>
<Resource uuid="UUID-016">
<Properties>
<Name>Цена</Name>
<Synonym>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Цена</v8:content>
</v8:item>
</Synonym>
<Comment/>
<Type>
<v8:Type>xs:decimal</v8:Type>
<v8:NumberQualifiers>
<v8:Digits>15</v8:Digits>
<v8:FractionDigits>2</v8:FractionDigits>
<v8:AllowedSign>Any</v8:AllowedSign>
</v8:NumberQualifiers>
</Type>
<PasswordMode>false</PasswordMode>
<Format/>
<EditFormat/>
<ToolTip/>
<MarkNegatives>false</MarkNegatives>
<Mask/>
<MultiLine>false</MultiLine>
<ExtendedEdit>false</ExtendedEdit>
<MinValue xsi:nil="true"/>
<MaxValue xsi:nil="true"/>
<FillFromFillingValue>false</FillFromFillingValue>
<FillValue xsi:nil="true"/>
<FillChecking>DontCheck</FillChecking>
<ChoiceFoldersAndItems>Items</ChoiceFoldersAndItems>
<ChoiceParameterLinks/>
<ChoiceParameters/>
<QuickChoice>Auto</QuickChoice>
<CreateOnInput>Auto</CreateOnInput>
<ChoiceForm/>
<LinkByType/>
<ChoiceHistoryOnInput>Auto</ChoiceHistoryOnInput>
<Indexing>DontIndex</Indexing>
<FullTextSearch>Use</FullTextSearch>
<DataHistory>Use</DataHistory>
</Properties>
</Resource>
<Dimension uuid="UUID-017">
<Properties>
<Name>Номенклатура</Name>
<Synonym>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Номенклатура</v8:content>
</v8:item>
</Synonym>
<Comment/>
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>100</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
<PasswordMode>false</PasswordMode>
<Format/>
<EditFormat/>
<ToolTip/>
<MarkNegatives>false</MarkNegatives>
<Mask/>
<MultiLine>false</MultiLine>
<ExtendedEdit>false</ExtendedEdit>
<MinValue xsi:nil="true"/>
<MaxValue xsi:nil="true"/>
<FillFromFillingValue>false</FillFromFillingValue>
<FillValue xsi:nil="true"/>
<FillChecking>DontCheck</FillChecking>
<ChoiceFoldersAndItems>Items</ChoiceFoldersAndItems>
<ChoiceParameterLinks/>
<ChoiceParameters/>
<QuickChoice>Auto</QuickChoice>
<CreateOnInput>Auto</CreateOnInput>
<ChoiceForm/>
<LinkByType/>
<ChoiceHistoryOnInput>Auto</ChoiceHistoryOnInput>
<Master>false</Master>
<MainFilter>false</MainFilter>
<DenyIncompleteValues>false</DenyIncompleteValues>
<Indexing>DontIndex</Indexing>
<FullTextSearch>Use</FullTextSearch>
<DataHistory>Use</DataHistory>
</Properties>
</Dimension>
</ChildObjects>
</InformationRegister>
</MetaDataObject>