mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-06-12 08:54:57 +03:00
fix(stub-db-create): warn about guessed register column categories
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1247,6 +1247,9 @@ $propsXml </Properties>$childObjLine
|
||||
}
|
||||
|
||||
Write-Host "Generated stub configuration with $($typeMap.Count) metadata types"
|
||||
if ($registerColumns.Count -gt 0) {
|
||||
Write-Host "WARNING: Register column categories (Dimension/Resource/Attribute) are guessed. Form field bindings may not survive round-trip through a real database." -ForegroundColor Yellow
|
||||
}
|
||||
}
|
||||
|
||||
# --- 5. Create infobase ---
|
||||
|
||||
@@ -1031,6 +1031,8 @@ def main():
|
||||
write_bom(os.path.join(obj_dir, f'{obj_name}.xml'), obj_xml)
|
||||
|
||||
print(f'Generated stub configuration with {len(type_map)} metadata types')
|
||||
if register_columns:
|
||||
print('WARNING: Register column categories (Dimension/Resource/Attribute) are guessed. Form field bindings may not survive round-trip through a real database.')
|
||||
|
||||
# Create infobase
|
||||
print(f'Creating infobase: {temp_base}')
|
||||
|
||||
Reference in New Issue
Block a user