Project

General

Profile

New Users can't register with Redmine 1.1.2 (Error: Email notifications is not included in the list)

Added by Michael Pfannkuchen almost 13 years ago

Hallo all,

just today I got the user feedback about an user registration issue.

When trying to send the completed Registration Form, new users get the error message "Mailbenachrichtigung ist kein gültiger Wert" (translated to English via matching de.yml entries to en.yml entries, I get "Email notifications is not included in the list").
Obviously the users are forced to choose, which Email notification option they prefer. The problem is, there is no Options field visible on the form.

Any idea, how to enable successful user registration again? (with older versions of Redmine there was no registration problem at all ...).

My environment is Redmine 1.1.2 on Apache 2.2 Passenger. Default Language is English, but maybe because my client computers are running German operating system, the registration form itself shows German language strings.

Thx4all : Michael


Replies (3)

RE: New Users can't register with Redmine 1.1.2 (Error: Email notifications is not included in the list) - Added by Michael Pfannkuchen almost 13 years ago

Maybe the first issue ist dependend on another error: if I try to add an UserCustomField in Administrator settings, the Webbrowser throws an "Internal Error" message.
In production log there it looks like the following:

Processing CustomFieldsController#new (for 84.133.107.63 at 2011-04-19 15:20:01) [GET]
Parameters: {"action"=>"new", "type"=>"UserCustomField", "controller"=>"custom_fields"}
Rendering template within layouts/admin
Rendering custom_fields/new

ActionView::TemplateError (undefined method `visible' for #<UserCustomField:0x46965f0>) on line #89 of app/views/custom_fields/_form.rhtml:
86:
87: <% when "UserCustomField" >
88: <p><
= f.check_box :is_required ></p>
89: <p><
= f.check_box :visible ></p>
90: <p><
= f.check_box :editable ></p>
91:
92: <
when "ProjectCustomField" %>

lib/tabular_form_builder.rb:35:in `check_box'
app/views/custom_fields/_form.rhtml:89:in `_run_rhtml_app47views47custom_fields47_form46rhtml_locals_f_form_object'
app/views/custom_fields/new.rhtml:6:in `_run_rhtml_app47views47custom_fields47new46rhtml'
app/helpers/application_helper.rb:756:in `labelled_tabular_form_for'
app/views/custom_fields/new.rhtml:5:in `_run_rhtml_app47views47custom_fields47new46rhtml'
passenger (3.0.0) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
passenger (3.0.0) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'
passenger (3.0.0) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'
passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send'
passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application'
passenger (3.0.0) lib/phusion_passenger/utils.rb:479:in `safe_fork'
passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'
passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:180:in `start'
passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'
passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application'
passenger (3.0.0) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application'
passenger (3.0.0) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'
passenger (3.0.0) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'
passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application'
passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.0) helper-scripts/passenger-spawn-server:99

Rendering /var/www/vhosts/ssl.projekt-coaching.net/redmine-1.1.1/public/500.html (500 Internal Server Error)
---------------------

Where could the problem be hidden here?

Happy projects and thx4all : Michael

RE: New Users can't register with Redmine 1.1.2 (Error: Email notifications is not included in the list) - Added by Felix Schäfer almost 13 years ago

This nearly sounds like an update that didn't work through. Make sure all the Redmine files are the correct version and your database is migrated correctly.

RE: New Users can't register with Redmine 1.1.2 (Error: Email notifications is not included in the list) - Added by Michael Pfannkuchen almost 13 years ago

Much thanks to you, Felix...
I guess I did'nt perform the migration scripts correctly. After performing the migration scripts for Redmine and its plugins now, all features seem to work well again.
Stupid me ... thx again: Michael

    (1-3/3)