oscript-library / oscript-library/gitsync
УстановщикПлагинов.os:142 использует удалённый метод ПолучитьВыводКоманды() (1commands ≥ 1.5.0)
Nobody has claimed this yet.
- Dominant language
- 1C Enterprise
- Stars
- 333
- Forks
- 98
- PR merge metrics
- No merged PRs in 30d
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
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.
Assessment
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 90/100