oscript-library / oscript-library/gitsync

Ошибка получения версия для конфигураций с режимом совместимости 8.2.13 и 8.1

Open
#288 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
1C Enterprise
Stars
333
Forks
98
PR merge metrics
No merged PRs in 30d

Description

Если у конфигурации установлен режим совместимости 8.2.13, то возникает ошибка

КРИТИЧНАЯОШИБКА - {Модуль C:\Program Files (x86)\OneScript\lib\gitsync\oscript_modules\v8storage\src\Классы\МенеджерХранилищаКонфигурации.os / Ошибка в строке: 604 / Метод объекта не обнаружен (Количетво)}

Про данную проблему есть на партнерке переписка: https://partners.v8.1c.ru/forum/topic/988540

Суть проблемы - при сохранении отчета по хранилищу "/ConfigurationRepositoryReport" если у конфигурации установлен режим совместимости 8.2.13 то в отчете нет информации по версиям.

Шаги по воспроизведению:

  1. Создать хранилище от базы в режиме совместимости 8.2.13, сделать помещение в хранилище.
  2. Подключить гитсинк к данному хранилищу.
  3. Запустить 'gitsync s'
  4. Получить ошибку в консоли: "КРИТИЧНАЯОШИБКА - {Модуль C:\Program Files (x86)\OneScript\lib\gitsync\oscript_modules\v8storage\src\Классы\МенеджерХранилищаКонфигурации.os / Ошибка в строке: 604 / Метод объекта не обнаружен (Количетво)} "

Окружение:

  • Версия операционной системы: Windows Server 2019
  • Редакция 1С платформы 8.3.19.1467
  • Версия Gitsync: 3.4.1
  • Версия OScript: 1.7.0.214

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with oscript_modules/v8storage/src/Классы/МенеджерХранилищаКонфигурации.os around line 604 and reproduce the failure using a configuration in compatibility mode 8.2.13, then run gitsync s. Done means the ConfigurationRepositoryReport includes version information and completes without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.