УстановщикПлагинов.os:142 использует удалённый метод ПолучитьВыводКоманды() (1commands ≥ 1.5.0)

Open Beginner friendly
#368 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
90/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Domain
cli

Research direction

Open src/core/Классы/internal/Классы/УстановщикПлагинов.os and inspect УстановитьЗависимостиПлагинов at line 142. Reproduce with ovm use 2.0.1, opm install gitsync, and gitsync p init; done means plugin initialization succeeds without the missing-method error.

Written by the indexing model from the issue text.

Description

Описание

В УстановщикПлагинов.os:142 (функция УстановитьЗависимостиПлагинов) вызывается Команда.ПолучитьВыводКоманды() — метод, удалённый в 1commands 1.5.0 (оставлен только ПолучитьВывод()). gitsync 3.8.0 требует 1commands@1.5.0 в packagedef, поэтому баг воспроизводится стабильно.

Воспроизведение

ovm use 2.0.1
opm install gitsync # версия 3.8.0 или 3.7.2
gitsync p init

Ожидаемое поведение

Плагины инициализируются без ошибок.

Фактическое поведение

{Модуль ...УстановщикПлагинов.os / Ошибка в строке: 142 / Метод объекта не обнаружен ({Команда.os}::ПолучитьВыводКоманды)}

Исправление

Заменить Команда.ПолучитьВыводКоманды() на Команда.ПолучитьВывод() в строке 142 файла:
src/core/Классы/internal/Классы/УстановщикПлагинов.os

Дополнительно

Тот же вызов остался в gitsync-plugins: РаспаковкаФорм.os:71. Связано с закрытым issue #353.

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

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.

More from oscript-library/gitsync

All issues in oscript-library/gitsync

Similar issues

More CLI issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.