aptiko / irma

Project management for IRMA—no code, mainly issues
0 stars 0 forks source link

Internal server error when there's bad input in kc_stages #55

Closed aptiko closed 3 years ago

aptiko commented 3 years ago
File "/opt/aira-irma/aira/forms.py" in save
  146.         self.instance.set_custom_kc_stages(self.cleaned_data["kc_stages"])

File "/opt/aira-irma/aira/models.py" in set_custom_kc_stages
  457.             ndays = int(row[0])

Exception Type: ValueError at /update_agrifield/715/
Exception Value: invalid literal for int() with base 10: '60 1'
aptiko commented 3 years ago

Wrong repo for the ticket, submitted again in aira.