Complete name-first 1C adapter saved-state support

This commit is contained in:
2026-07-26 16:39:53 +03:00
parent b8c62fa8fa
commit aed134d817
44 changed files with 15436 additions and 697 deletions
+60 -2
View File
@@ -62,8 +62,66 @@ independent metadata properties and must be filtered as derived evidence.
The `test2` experiment on 2026-07-15 added a minimal calculation register and
its required chart of calculation types through Designer, then saved the
extension without applying it. The objects remain intentionally `saved_only`
for adapter regression checks.
extension without applying it. That historical fixture was later removed from
the live saved state. The observations below remain decoder evidence, but they
must not be interpreted as proof that the current `upo_test` still contains the
object.
The reproducible fixture requirements are declared in
`config/1c_metadata_kind_fixtures.json`. Validate the declaration offline:
```powershell
python scripts/check_1c_metadata_kind_fixtures.py
```
Probe the current adapter and test base:
```powershell
python scripts/check_1c_metadata_kind_fixtures.py --live
```
Use `--require-ready` only as a strict regression gate after the fixtures have
been loaded with 1C Designer. The checker never creates metadata and never
writes platform SQL. `CalculationRegister` and `Sequence` belong in the saved
`test2` extension. Legacy `Interface` requires a dedicated compatible test
base, supplied explicitly as
`--target-base interface_legacy_base=<base_id>`; it must not be simulated in a
modern configuration by editing `Config`, `ConfigCAS`, or `DBNames`.
At the 2026-07-26 verification point, the `upo_test` server required platform
`8.5.1.1236`. The exact Designer build is now installed at
`C:\Program Files\1cv8\8.5.1.1236\bin\1cv8.exe`; the previous client-version
blocker is closed.
Export the current saved `test2` sources through operating-system integrated
authentication only:
```powershell
.\scripts\export_1c_extension_sources.ps1 `
-OutputDirectory C:\Temp\upo-test-test2-source
```
The export helper verifies the exact executable version, refuses a non-empty
output directory, always passes `/WA+`, and has no user or credential
parameters. It only reads and exports the extension; it does not load, save, or
apply a configuration.
The current workstation account is not mapped to an infobase user on
`wsr\upo_test`, so the server export stops with
`Пользователь ИБ не идентифицирован`. A disposable local file infobase needs a
client license and stops with `Не найдена лицензия`. Therefore provisioning is
still blocked by execution environment, not by adapter code or platform
version. Continue on a licensed workstation under an already authorized
operating-system identity; do not add a user name or password to scripts,
manifests, or reports, and do not bypass the block with direct SQL.
An external structural reference is pinned to
`asosnoviy/go1cover@c7e3ea3d90396d341cb98285c29973bcc0a82eca`,
path `testresourse/cf/designer/src`. It contains examples of
`CalculationRegister`, `Sequence`, and legacy `Interface`. The upstream
repository is GPL-3.0; its files are reference input only and are not vendored
into this project. The pinned source and per-kind paths are declared in the
fixture manifest.
Observed read-only SQL signatures in `ConfigCASSave`: