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

Появилась ошибка установки текста из переменной в поле если переменная дата #308

Closed
PavelVir opened this issue Jun 11, 2019 · 5 comments
Labels
bug Something isn't working

Comments

@PavelVir
Copy link
Contributor

PavelVir commented Jun 11, 2019

Функционал: Сохранение даты в переменной 

Контекст:
  Дано: VA 1/2/024
  И 1С:Предприятие 8.3 (8.3.13.1513)
  и УНФ

Сценарий: В прежних версиях не вызывало ошибку а теперь падает на коде

 И Я запоминаю значение выражения 'ТекущаяДата()' в переменную 'ДатаДляОтчета'
И в поле 'Неделя с' я ввожу значение переменной "ДатаДляОтчета"


где предполагаемая ошибка:

Функция ВвестиВПолеТекст(Поле,Текст)
....
Поле.ВвестиТекст(Текст); - тут падает так как текст не текст а дата - возможно привести к тексту?
 


![image](https://user-images.githubusercontent.com/40602668/59264314-88f98300-8c4b-11e9-91a6-014a7feb96af.png)

сам шаг в библиотеке (был - стал)

![image](https://user-images.githubusercontent.com/40602668/59270902-463fa700-8c5b-11e9-8578-bf85820f6dfc.png)

@Pr-Mex Pr-Mex added the bug Something isn't working label Jun 11, 2019
@Pr-Mex
Copy link
Owner

Pr-Mex commented Jun 11, 2019

@PavelVir
Не подгрузились картинки. У тебя показываются?

@PavelVir
Copy link
Contributor Author

Ошибка

image

@PavelVir
Copy link
Contributor Author

@Pr-Mex
image

@Pr-Mex
Copy link
Owner

Pr-Mex commented Jun 11, 2019

Ага, понял.

@Pr-Mex
Copy link
Owner

Pr-Mex commented Jul 1, 2019

Решено.

@Pr-Mex Pr-Mex closed this as completed Jul 1, 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