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

Вызов ассерта приводит к ошибке #454

Closed
KrapivinAndrey opened this issue Oct 3, 2019 · 7 comments
Closed

Вызов ассерта приводит к ошибке #454

KrapivinAndrey opened this issue Oct 3, 2019 · 7 comments
Labels
bug Something isn't working

Comments

@KrapivinAndrey
Copy link
Contributor

Параметры = ПараметрыИлиДопСообщениеОшибки;

Переменная Параметры связна с ДаннымиФормы и переопределять ее нельзя

image

@KrapivinAndrey
Copy link
Contributor Author

Вызов выглядел вот так
image

@KrapivinAndrey
Copy link
Contributor Author

Никто ж не говорит что так делать нельзя. Более того - второй параметр по умолчанию Неопределено - так что тоже упадет

@Pr-Mex
Copy link
Owner

Pr-Mex commented Oct 3, 2019

@KrapivinAndrey привет. Дай больше данных, пожалуйста, о том что ты делаешь и что ты хочешь получить.

@KrapivinAndrey
Copy link
Contributor Author

Пробую тесты для edt. Ребята написали тест на 2ом скриншоте. Вторым параметром передали Неопределено. На клиенте это приведет к ошибке. Потому что Данным формы "Параметры" будет присвоено Неопределено и va single закроется с неочевидной ошибкой

@KrapivinAndrey
Copy link
Contributor Author

KrapivinAndrey commented Oct 3, 2019

@Pr-Mex Фуф. Добрался до компа, проще писать. Итак. Я решил попробовать тесты в edt. Работают они через VA single. Что интересно - тест на скриншоте работает в edt. Настроил Jenkins на прогон тестов. И этот же тест (проверить открытие списка формы заявок) падает с ошибкой: Нельзя изменять данные формы.

Выяснил что падает при обращении к процедуре ПроверитьВыполнилось НаКлиенте. Из-за того что переменной Параметры присвается Неопределено. А это ошибка

@Pr-Mex
Copy link
Owner

Pr-Mex commented Oct 4, 2019

@KrapivinAndrey
Понял что происходит. Спасибо за инфо.

@Pr-Mex Pr-Mex added the bug Something isn't working label Oct 4, 2019
@Pr-Mex Pr-Mex changed the title В VA Single приводит к ошибке Вызов ассерта приводит к ошибке Oct 7, 2019
Pr-Mex added a commit that referenced this issue Oct 7, 2019
@Pr-Mex
Copy link
Owner

Pr-Mex commented Oct 7, 2019

Решено.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants