I can't create user fields

I’m trying to create user fields for user’s sign up. But I’m getting the next in the production logs

Started POST "/admin/customize/user_fields" for 186.81.228.178 at 2015-07-09 19:45:22 +0000
Processing by Admin::UserFieldsController#create as */*
  Parameters: {"user_field"=>{"name"=>"Nombre", "description"=>"", "field_type"=>"text", "required"=>"true"}}
Completed 422 Unprocessable Entity in 34ms (Views: 0.4ms | ActiveRecord: 8.2ms)

The problem was that I was not filling up the description of the field. The only way of realize this was debugging in the controller.

Still that might be a bug, can you check tomorrow @eviltrout?

This was a bug with the error message not being properly displayed. Fixed it here:

https://github.com/discourse/discourse/commit/ac2f5cbdabf8eb5b375a0baa80e2e29227934aff

2 Likes