fix(db-load-xml): -AllExtensions с загрузкой частями — отказ на обоих движках

Ветка ibcmd молча игнорировала список и загружала все расширения целиком.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ANXwbMUhuRFSCsq2RgmTTm
This commit is contained in:
Nick Shirokov
2026-09-24 18:08:20 +03:00
co-authored by Claude Opus 5.5
parent 80618f0b93
commit 647c633a9b
5 changed files with 89 additions and 3 deletions
@@ -0,0 +1,40 @@
{
"name": "Ошибка: -AllExtensions с загрузкой частями и на ibcmd — не полный импорт всех расширений (fake platform)",
"preRun": [
{
"writeFile": {
"path": "ibcmd.cmd",
"content": "@echo off\r\necho ARGS: %*\r\nexit /b 0\r\n"
}
},
{
"writeFile": {
"path": "ib/1Cv8.1CD",
"content": "stub"
}
},
{
"writeFile": {
"path": "src/CommonModules/Модуль.xml",
"content": "<?xml version=\"1.0\"?><MetaDataObject/>"
}
}
],
"args_extra": [
"-V8Path",
"{workDir}\\ibcmd.cmd",
"-InfoBasePath",
"{workDir}\\ib",
"-ConfigDir",
"{workDir}\\src",
"-Files",
"CommonModules/Модуль.xml",
"-AllExtensions"
],
"expectError": true,
"expect": {
"stdoutContains": "-AllExtensions cannot be combined with a partial load",
"stdoutNotContains": "ARGS:"
},
"osOnly": "win32"
}
@@ -0,0 +1,33 @@
{
"name": "Ошибка: -AllExtensions вместе с загрузкой частями",
"fakePlatform": {
"log": ""
},
"preRun": [
{
"writeFile": {
"path": "src/CommonModules/Модуль.xml",
"content": "<?xml version=\"1.0\"?><MetaDataObject/>"
}
}
],
"args_extra": [
"-V8Path",
"{fakePlatform}",
"-InfoBasePath",
"{workDir}/ib",
"-ConfigDir",
"{workDir}/src",
"-Files",
"CommonModules/Модуль.xml",
"-AllExtensions"
],
"expectError": true,
"expect": {
"stdoutContains": [
"-AllExtensions cannot be combined with a partial load",
"Загружайте расширения по одному: -Extension <имя>"
],
"stdoutNotContains": "Running:"
}
}