mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-08-15 15:59:00 +03:00
Прогон verify-snapshots вскрыл, что два новых кейса опирались на вход, который платформа не принимает — падала конфигурация-источник, а не расширение. form-choice-link-items: путь «Items.Ячейка.CurrentData.Склад» был невалиден, потому что Ячейка — поле ввода, а не таблица. Кейс пересобран на настоящей табличной части: путь корректен, связь по-прежнему вырезается, фикстура грузится. Кейс продолжает падать на коде до правки. form-choice-link-dangling: вход намеренно содержит путь на несуществующий реквизит объекта — в валидной конфигурации такой формы не бывает, а проверяется именно поведение навыка на таком пути. Помечен skipPlatformVerify с причиной. После правок verify-snapshots --skill cfe-borrow: 21 прошло, 0 упало, 1 пропущен по объявленной причине. cfe-validate — 7 из 7. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
66 lines
2.6 KiB
JSON
66 lines
2.6 KiB
JSON
{
|
|
"name": "Связь параметров выбора на Items.*.CurrentData вырезается: её кодировка невоспроизводима",
|
|
"preRun": [
|
|
{
|
|
"script": "meta-compile/scripts/meta-compile",
|
|
"input": { "type": "Catalog", "name": "Склады" },
|
|
"args": { "-JsonPath": "{inputFile}", "-OutputDir": "{workDir}" }
|
|
},
|
|
{
|
|
"script": "meta-compile/scripts/meta-compile",
|
|
"input": { "type": "Catalog", "name": "Ячейки" },
|
|
"args": { "-JsonPath": "{inputFile}", "-OutputDir": "{workDir}" }
|
|
},
|
|
{
|
|
"script": "meta-compile/scripts/meta-compile",
|
|
"input": {
|
|
"type": "Document", "name": "Размещение",
|
|
"tabularSections": {
|
|
"Строки": [
|
|
"Склад: CatalogRef.Склады",
|
|
"Ячейка: CatalogRef.Ячейки"
|
|
]
|
|
}
|
|
},
|
|
"args": { "-JsonPath": "{inputFile}", "-OutputDir": "{workDir}" }
|
|
},
|
|
{
|
|
"script": "form-add/scripts/form-add",
|
|
"args": { "-ObjectPath": "{workDir}/Documents/Размещение.xml", "-FormName": "ФормаДокумента" }
|
|
},
|
|
{
|
|
"script": "form-compile/scripts/form-compile",
|
|
"input": {
|
|
"title": "Размещение",
|
|
"elements": [
|
|
{
|
|
"table": "Строки", "path": "Объект.Строки",
|
|
"columns": [
|
|
{ "input": "Склад", "path": "Объект.Строки.Склад" },
|
|
{
|
|
"input": "Ячейка", "path": "Объект.Строки.Ячейка",
|
|
"choiceParameterLinks": [
|
|
{ "name": "Отбор.Владелец", "dataPath": "Items.Строки.CurrentData.Склад" }
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"attributes": [ { "name": "Объект", "type": "DocumentObject.Размещение", "main": true } ]
|
|
},
|
|
"args": { "-JsonPath": "{inputFile}", "-OutputPath": "{workDir}/Documents/Размещение/Forms/ФормаДокумента/Ext/Form.xml" }
|
|
},
|
|
{
|
|
"script": "cfe-init/scripts/cfe-init",
|
|
"args": { "-Name": "Тест", "-OutputDir": "{workDir}/ext", "-ConfigPath": "{workDir}" }
|
|
}
|
|
],
|
|
"params": { "extensionPath": "ext", "object": "Document.Размещение.Form.ФормаДокумента" },
|
|
"expect": {
|
|
"fileNotContains": {
|
|
"file": "ext/Documents/Размещение/Forms/ФормаДокумента/Ext/Form.xml",
|
|
"text": ["<xr:Link>", "Items.Строки.CurrentData.Склад"]
|
|
}
|
|
}
|
|
}
|