fix(web-publish): корректное включение OData через <standardOdata> в default.vrd

Атрибут enableStandardOdata на <point> не распознаётся платформой → OData 404.
Заменено на дочерний <standardOdata enable="true"/> (строчная форма; E2E 8.3.24+8.3.27).
Заглавная <standardOData> из ИТС также даёт 404 — задокументировано в web-spec.md. v1.4.

Co-Authored-By: Pavel V <40602668+PavelVir@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Nick Shirokov
2026-06-23 20:46:28 +03:00
co-authored by Pavel V Claude Opus 4.8
parent 23af4aa6a8
commit 38d89af47d
3 changed files with 12 additions and 10 deletions
@@ -1,4 +1,4 @@
# web-publish v1.3 — Publish 1C infobase via Apache
# web-publish v1.4 — Publish 1C infobase via Apache
# Source: https://github.com/Nikolay-Shirokov/cc-1c-skills
<#
.SYNOPSIS
@@ -278,8 +278,8 @@ $vrdContent = @"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
base="/$AppName"
ib="$ibString"
enableStandardOdata="true">
ib="$ibString">
<standardOdata enable="true"/>
<ws pointEnableCommon="true"/>
<httpServices publishByDefault="true"/>
</point>
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# web-publish v1.3 — Publish 1C infobase via Apache
# web-publish v1.4 — Publish 1C infobase via Apache
# Source: https://github.com/Nikolay-Shirokov/cc-1c-skills
"""
@@ -297,8 +297,8 @@ def main():
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
base="/{app_name}"
ib="{ib_string}"
enableStandardOdata="true">
ib="{ib_string}">
<standardOdata enable="true"/>
<ws pointEnableCommon="true"/>
<httpServices publishByDefault="true"/>
</point>'''