mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-06-16 02:43:14 +03:00
fix(meta-compile): fix invalid XML properties and improve JSON input flexibility
A) XML bugs: skip FillFromFillingValue/FillValue for tabular attributes, emit Use=ForItem only for Catalog tabular sections (not Document). B) JSON input: accept "objectType" as alias for "type", normalize array-format tabularSections, add "Каталог" synonym for "Catalog". C) Update specs to match corrected behavior. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -748,7 +748,8 @@ Ext/ # Расширение конфигураци
|
||||
</Properties>
|
||||
<ChildObjects>
|
||||
<Attribute uuid="...">
|
||||
<!-- Реквизиты-колонки таблицы, формат как у обычных реквизитов -->
|
||||
<!-- Реквизиты-колонки таблицы: формат как у обычных реквизитов,
|
||||
но без FillFromFillingValue, FillValue, Use -->
|
||||
</Attribute>
|
||||
</ChildObjects>
|
||||
</TabularSection>
|
||||
|
||||
@@ -167,7 +167,7 @@ JSON DSL для описания объектов метаданных конф
|
||||
|
||||
Ключ — имя табличной части, значение — массив реквизитов (в строковой или объектной форме).
|
||||
|
||||
Для Catalog и Document добавляется `<Use>ForItem</Use>` в Properties табличной части.
|
||||
Для Catalog добавляется `<Use>ForItem</Use>` в Properties табличной части. Для Document Use не применяется.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user