growstuff icon indicating copy to clipboard operation
growstuff copied to clipboard

Can't add new crops

Open corviday opened this issue 4 years ago • 1 comments

Thank you for creating an incredibly useful site!

I am unable to suggest new crops from the new crops form. When I press the 'Save' button, I get a message saying, "We're sorry, but something went wrong."

corviday avatar Jun 22 '21 00:06 corviday

This may also be an issue connected to emails not being sent in #2883

dcyoung-dev avatar Sep 17 '21 16:09 dcyoung-dev

Yes, reproduced on staging and it's due to the SendGrid email issues.

cesy avatar Dec 14 '22 18:12 cesy

On staging, now we've updated to MailGun and added myself as an authorised recipient, and added myself as a crop wrangler, it looks like this now works. We should make sure we have a couple of active crop wranglers on production when we fix emails.

cesy avatar Dec 16 '22 15:12 cesy

Need to mark required in the new crop form:

2023-03-13T03:25:29.574480+00:00 app[web.1]: [7bd653e9-8c03-4b60-bb6e-5ae7d763f3a7] ActionController::ParameterMissing (param is missing or the value is empty: alt_name):
2023-03-13T03:25:29.574481+00:00 app[web.1]: [7bd653e9-8c03-4b60-bb6e-5ae7d763f3a7]
2023-03-13T03:25:29.574482+00:00 app[web.1]: [7bd653e9-8c03-4b60-bb6e-5ae7d763f3a7] app/controllers/crops_controller.rb:190:in `names_params'
2023-03-13T03:25:29.574482+00:00 app[web.1]: [7bd653e9-8c03-4b60-bb6e-5ae7d763f3a7] app/controllers/crops_controller.rb:150:in `save_crop_names'
2023-03-13T03:25:29.574482+00:00 app[web.1]: [7bd653e9-8c03-4b60-bb6e-5ae7d763f3a7] app/controllers/crops_controller.rb:103:in `block in create'
2023-03-13T03:25:29.574483+00:00 app[web.1]: [7bd653e9-8c03-4b60-bb6e-5ae7d763f3a7] app/controllers/crops_controller.rb:103:in `create'

CloCkWeRX avatar Mar 13 '23 03:03 CloCkWeRX

image

CloCkWeRX avatar Mar 13 '23 03:03 CloCkWeRX

Split to #3278

CloCkWeRX avatar Mar 13 '23 03:03 CloCkWeRX