We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi i have an "internal error" 500. When i want to access to config.
Redmine version: 3.020140825-8deb OS: Debian Jessie 64 bits Database: MariaDB 10.0.30
Install seems ok:
# rake redmine:plugins:migrate RAILS_ENV=production Migrating redmine_base_deface (Redmine Base Deface plugin)... Migrating redmine_customize_core_fields (Redmine Customize Core Fields plugin)... == 1 CreateCoreFieldsTable: migrating ========================================= -- create_table("core_fields", {:force=>true}) -> 0.2095s == 1 CreateCoreFieldsTable: migrated (0.2095s) ================================ == 2 CreateCoreFieldsRoles: migrating ========================================= -- create_table(:core_fields_roles, {:id=>false}) -> 0.1794s -- add_index(:core_fields_roles, [:core_field_id, :role_id], {:unique=>true, :name=>:core_fields_roles_ids}) -> 0.1594s == 2 CreateCoreFieldsRoles: migrated (0.3389s) ================================
Logs:
Started GET "/core_fields" for 62.212.123.212 at 2017-03-31 16:24:33 +0200 Processing by CoreFieldsController#index as HTML Current user: hanx (id=3) WARNING: Can't mass-assign protected attributes for CoreField: identifier Mysql2::Error: Field 'identifier' doesn't have a default value: INSERT INTO `core_fields` VALUES () Completed 500 Internal Server Error in 5ms (ActiveRecord: 1.0ms) ActiveRecord::StatementInvalid (Mysql2::Error: Field 'identifier' doesn't have a default value: INSERT INTO `core_fields` VALUES ()): activerecord (4.1.16) lib/active_record/connection_adapters/abstract_mysql_adapter.rb:303:in `query' activerecord (4.1.16) lib/active_record/connection_adapters/abstract_mysql_adapter.rb:303:in `block in execute' activerecord (4.1.16) lib/active_record/connection_adapters/abstract_adapter.rb:378:in `block in log' activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activerecord (4.1.16) lib/active_record/connection_adapters/abstract_adapter.rb:372:in `log' activerecord (4.1.16) lib/active_record/connection_adapters/abstract_mysql_adapter.rb:303:in `execute' activerecord (4.1.16) lib/active_record/connection_adapters/mysql2_adapter.rb:228:in `execute' activerecord (4.1.16) lib/active_record/connection_adapters/mysql2_adapter.rb:250:in `exec_insert' activerecord (4.1.16) lib/active_record/connection_adapters/abstract/database_statements.rb:95:in `insert' activerecord (4.1.16) lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `insert' activerecord (4.1.16) lib/active_record/relation.rb:64:in `insert' activerecord (4.1.16) lib/active_record/persistence.rb:504:in `_create_record' activerecord (4.1.16) lib/active_record/attribute_methods/dirty.rb:87:in `_create_record' activerecord (4.1.16) lib/active_record/callbacks.rb:306:in `block in _create_record' activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' activerecord (4.1.16) lib/active_record/callbacks.rb:306:in `_create_record' activerecord (4.1.16) lib/active_record/timestamp.rb:57:in `_create_record' activerecord (4.1.16) lib/active_record/persistence.rb:484:in `create_or_update' activerecord (4.1.16) lib/active_record/callbacks.rb:302:in `block in create_or_update' activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' activerecord (4.1.16) lib/active_record/callbacks.rb:302:in `create_or_update' activerecord (4.1.16) lib/active_record/persistence.rb:125:in `save!' activerecord (4.1.16) lib/active_record/validations.rb:57:in `save!' activerecord (4.1.16) lib/active_record/attribute_methods/dirty.rb:29:in `save!' activerecord (4.1.16) lib/active_record/transactions.rb:273:in `block in save!' activerecord (4.1.16) lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status' activerecord (4.1.16) lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction' activerecord (4.1.16) lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction' activerecord (4.1.16) lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction' activerecord (4.1.16) lib/active_record/transactions.rb:208:in `transaction' activerecord (4.1.16) lib/active_record/transactions.rb:326:in `with_transaction_returning_status' activerecord (4.1.16) lib/active_record/transactions.rb:273:in `save!' /usr/lib/ruby/vendor_ruby/active_record/mass_assignment_security/validations.rb:17:in `create!' activerecord (4.1.16) lib/active_record/relation.rb:147:in `block in create!' activerecord (4.1.16) lib/active_record/relation.rb:292:in `scoping' activerecord (4.1.16) lib/active_record/relation.rb:147:in `create!' activerecord (4.1.16) lib/active_record/relation.rb:215:in `find_or_create_by!' activerecord (4.1.16) lib/active_record/querying.rb:6:in `find_or_create_by!' plugins/redmine_customize_core_fields/app/controllers/core_fields_controller.rb:15:in `block (3 levels) in index' plugins/redmine_customize_core_fields/app/controllers/core_fields_controller.rb:14:in `each' plugins/redmine_customize_core_fields/app/controllers/core_fields_controller.rb:14:in `each_with_index' plugins/redmine_customize_core_fields/app/controllers/core_fields_controller.rb:14:in `block (2 levels) in index' actionpack (4.1.16) lib/action_controller/metal/mime_responds.rb:258:in `call' actionpack (4.1.16) lib/action_controller/metal/mime_responds.rb:258:in `respond_to' plugins/redmine_customize_core_fields/app/controllers/core_fields_controller.rb:11:in `index' actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' /usr/lib/ruby/vendor_ruby/rack/openid.rb:98:in `call' rack (1.5.5) lib/rack/etag.rb:23:in `call' rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' rack (1.5.5) lib/rack/head.rb:11:in `call' actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' /usr/lib/ruby/vendor_ruby/request_store/middleware.rb:8:in `call' actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' rack (1.5.5) lib/rack/runtime.rb:17:in `call' activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' rack (1.5.5) lib/rack/sendfile.rb:112:in `call' railties (4.1.16) lib/rails/engine.rb:514:in `call' railties (4.1.16) lib/rails/application.rb:144:in `call' railties (4.1.16) lib/rails/railtie.rb:194:in `public_send' railties (4.1.16) lib/rails/railtie.rb:194:in `method_missing' /usr/lib/ruby/vendor_ruby/thin/connection.rb:80:in `block in pre_process' /usr/lib/ruby/vendor_ruby/thin/connection.rb:78:in `catch' /usr/lib/ruby/vendor_ruby/thin/connection.rb:78:in `pre_process' /usr/lib/ruby/vendor_ruby/thin/connection.rb:53:in `process' /usr/lib/ruby/vendor_ruby/thin/connection.rb:38:in `receive_data' /usr/lib/ruby/vendor_ruby/eventmachine.rb:187:in `run_machine' /usr/lib/ruby/vendor_ruby/eventmachine.rb:187:in `run' /usr/lib/ruby/vendor_ruby/thin/backends/base.rb:61:in `start' /usr/lib/ruby/vendor_ruby/thin/server.rb:159:in `start' /usr/lib/ruby/vendor_ruby/thin/controllers/controller.rb:86:in `start' /usr/lib/ruby/vendor_ruby/thin/runner.rb:185:in `run_command' /usr/lib/ruby/vendor_ruby/thin/runner.rb:151:in `run!' /usr/bin/thin:6:in `<main>' Started GET "/issues/5" for 62.212.123.212 at 2017-03-31 16:28:37 +0200 Processing by IssuesController#show as HTML Parameters: {"id"=>"5"} Current user: hanx (id=3) Rendered issues/_action_menu.html.erb (1.1ms) Rendered issues/show.html.erb within layouts/base (5.3ms) Completed 500 Internal Server Error in 31ms (ActiveRecord: 2.5ms) ActionView::Template::Error (undefined method `not_visible' for #<Class:0x00000004ebdbe8>): 36: rows.left l(:field_status), h(@issue.status.name), :class => 'status' 37: rows.left l(:field_priority), h(@issue.priority.name), :class => 'priority' 38: 39: unless @issue.disabled_core_fields.include?('assigned_to_id') 40: rows.left l(:field_assigned_to), avatar(@issue.assigned_to, :size => "14").to_s.html_safe + (@issue.assigned_to ? link_to_user(@issue.assigned_to) : "-"), :class => 'assigned-to' 41: end 42: unless @issue.disabled_core_fields.include?('category_id') app/views/issues/show.html.erb:39:in `block in _f14401c1683d3288c414b0ae8a75f256' app/helpers/issues_helper.rb:158:in `issue_fields_rows' app/views/issues/show.html.erb:35:in `_f14401c1683d3288c414b0ae8a75f256' app/controllers/issues_controller.rb:130:in `block (2 levels) in show' app/controllers/issues_controller.rb:127:in `show'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi i have an "internal error" 500. When i want to access to config.
Redmine version: 3.0
20140825-8debOS: Debian Jessie 64 bits
Database: MariaDB 10.0.30
Install seems ok:
Logs:
The text was updated successfully, but these errors were encountered: