Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ошибка в параметре --NotReplaceCfg команды bindrepo #269

Closed
abirambul opened this issue Jan 18, 2019 · 2 comments
Closed
Milestone

Comments

@abirambul
Copy link
Contributor

У команды bindrepo есть параметр --NotReplaceCfg

https://github.com/silverbulleters/vanessa-runner/blob/759649af1be456501ec9e0123657af3e3ef5be42/src/%D0%9A%D0%BB%D0%B0%D1%81%D1%81%D1%8B/%D0%9A%D0%BE%D0%BC%D0%B0%D0%BD%D0%B4%D0%B0%D0%9F%D0%BE%D0%B4%D0%BA%D0%BB%D1%8E%D1%87%D0%B8%D1%82%D1%8C%D1%81%D1%8F%D0%9A%D0%A5%D1%80%D0%B0%D0%BD%D0%B8%D0%BB%D0%B8%D1%89%D1%83.os#L38-L39

Но далее по коду имеет противоположный смысл

https://github.com/silverbulleters/vanessa-runner/blob/759649af1be456501ec9e0123657af3e3ef5be42/src/%D0%9A%D0%BB%D0%B0%D1%81%D1%81%D1%8B/%D0%9A%D0%BE%D0%BC%D0%B0%D0%BD%D0%B4%D0%B0%D0%9F%D0%BE%D0%B4%D0%BA%D0%BB%D1%8E%D1%87%D0%B8%D1%82%D1%8C%D1%81%D1%8F%D0%9A%D0%A5%D1%80%D0%B0%D0%BD%D0%B8%D0%BB%D0%B8%D1%89%D1%83.os#L70

Команда:

vrunner bindrepo \\Storages\feature User Password --BindAlreadyBindedUser

Результат:

1cv8.exe DESIGNER /ConfigurationRepositoryN "User" /ConfigurationRepositoryP "Password " /ConfigurationRepositoryF "\\Storages\feature" /ConfigurationRepositoryBindCfg  -forceBindAlreadyBindedUser

Команда:

vrunner bindrepo \\Storages\feature User Password --BindAlreadyBindedUser --NotReplaceCfg

Результат:

1cv8.exe DESIGNER /ConfigurationRepositoryN "User" /ConfigurationRepositoryP "Password " /ConfigurationRepositoryF "\\Storages\feature" /ConfigurationRepositoryBindCfg  -forceBindAlreadyBindedUser  -forceReplaceCfg 

Описание параметра -forceReplaceCfg с ИТС:

-forceReplaceCfg – если конфигурация непустая, данный ключ подтверждает замену конфигурации на конфигурацию из хранилища.

@artbear artbear added this to the 1.7.0 milestone Jan 21, 2019
@abirambul
Copy link
Contributor Author

@artbear, новый параметр -forceReplaceCfg или добавить НЕ тут?

artbear added a commit that referenced this issue Jan 26, 2019
@artbear
Copy link
Collaborator

artbear commented Jan 26, 2019

новый параметр -forceReplaceCfg или добавить НЕ тут?

@abirambul спасибо, я исправил, добавив Не, в fbaaea0

@artbear artbear closed this as completed Jan 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants