It seems that Alaveteli expected PIN number to be a Date, but I can't see any validation, and db migration has set field into string.
Requirement that was being tested is:
Customize request email - add postal address and PIN (OIB) #12
An ActionView::Template::Error occurred in user#show:
Object must be a Date, DateTime or Time object. "12345678901" given.
lib/themes/imamopravoznati-theme/lib/views/user/_show_user_info.html.erb:20:in `_lib_themes_imamopravoznati_theme_lib_views_user__show_user_info_html_erb___2648259228887061587_47183182467660'
-------------------------------
Request:
-------------------------------
* URL : https://imamopravoznati.org/user/testing
* HTTP Method: GET
* IP address : xxxxxxxxx
* Parameters : {"controller"=>"user", "action"=>"show", "url_name"=>"testing"}
* Timestamp : 2022-01-21 00:12:48 +0100
* Server : imamopravoznati.org
* Rails root : /data/www/imamopravoznati.org/alaveteli
* Process: 50576
To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
Expected behavior
Screenshots
Desktop (please complete the following information):
OS: [e.g. Windows]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Describe the bug
It seems that Alaveteli expected PIN number to be a Date, but I can't see any validation, and db migration has set field into string. Requirement that was being tested is:
To Reproduce Steps to reproduce the behavior:
Expected behavior
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context