Project

General

Profile

Unable to edit notes/answers in issues

Added by Pavel Potcheptsov about 11 years ago

After click on pencil nothing happen.
Database migrated from 1.3.3 without any trouble.

Redmine 2.2.2.stable.11244
Environment:
  Redmine version                          2.2.2.stable.11244
  Ruby version                             1.9.3 (i686-linux)
  Rails version                            3.2.11
  Environment                              production
  Database adapter                         Mysql2
Redmine plugins:
  redmine_drafts                           0.2.0
  redmine_fields_permissions               1.0.0
  redmine_hide_estimated_hours             1.0.3
  redmine_lightbox                         0.0.1
  redmine_timesheet_plugin                 0.7.0


Replies (8)

RE: Unable to edit notes/answers in issues - Added by Jan Niggemann (redmine.org team member) about 11 years ago

Anything interesting in the relevant logfile?

RE: Unable to edit notes/answers in issues - Added by Pavel Potcheptsov about 11 years ago

no, just saw blinking once "loading" and nothing

RE: Unable to edit notes/answers in issues - Added by Diego Pasqualin about 11 years ago

I'm facing the same problem here after upgrading from 2.0.4, but with me Edit button works, only the Answer button doesn't.

RE: Unable to edit notes/answers in issues - Added by Diego Pasqualin about 11 years ago

Diego Pasqualin wrote:

I'm facing the same problem here after upgrading from 2.0.4, but with me Edit button works, only the Answer button doesn't.

This is what I get in the redmine logfile:

Started POST "/issues/886/quoted?journal_id=2029" for 10.66.72.99 at Mon Feb 04 12:32:37 -0200 2013

REXML::ParseException (The document "project_id=undefined&authenticity_token=79NKPIv1bRQ0n9TsCgj8j1EeoqYdJPIAQ6C2j1AUOn8%3D" does not have a valid root):
activesupport (3.2.11) lib/active_support/xml_mini/rexml.rb:35:in `parse'
activesupport (3.2.11) lib/active_support/xml_mini.rb:80:in `__send__'
activesupport (3.2.11) lib/active_support/xml_mini.rb:80:in `parse'
activesupport (3.2.11) lib/active_support/core_ext/hash/conversions.rb:98:in `from_xml'
actionpack (3.2.11) lib/action_dispatch/middleware/params_parser.rb:41:in `parse_formatted_parameters'
actionpack (3.2.11) lib/action_dispatch/middleware/params_parser.rb:17:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.4) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.4) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.11) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.11) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `_run__397314981__call__4__callbacks'
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `send'
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `send'
activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.11) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.11) lib/rails/rack/logger.rb:16:in `call'
activesupport (3.2.11) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.11) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.4) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.4) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.11) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.4) lib/rack/lock.rb:15:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/static.rb:62:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:143:in `pass'
rack-cache (1.2) lib/rack/cache/context.rb:155:in `invalidate'
rack-cache (1.2) lib/rack/cache/context.rb:71:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
railties (3.2.11) lib/rails/engine.rb:479:in `call'
railties (3.2.11) lib/rails/application.rb:223:in `call'
railties (3.2.11) lib/rails/railtie/configurable.rb:30:in `send'
railties (3.2.11) lib/rails/railtie/configurable.rb:30:in `method_missing'
passenger (3.0.17) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
passenger (3.0.17) lib/phusion_passenger/abstract_request_handler.rb:516:in `accept_and_process_next_request'
passenger (3.0.17) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
passenger (3.0.17) lib/phusion_passenger/rack/application_spawner.rb:206:in `start_request_handler'
passenger (3.0.17) lib/phusion_passenger/rack/application_spawner.rb:171:in `send'
passenger (3.0.17) lib/phusion_passenger/rack/application_spawner.rb:171:in `handle_spawn_application'
passenger (3.0.17) lib/phusion_passenger/utils.rb:470:in `safe_fork'
passenger (3.0.17) lib/phusion_passenger/rack/application_spawner.rb:166:in `handle_spawn_application'
passenger (3.0.17) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
passenger (3.0.17) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.17) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.17) lib/phusion_passenger/abstract_server.rb:180:in `start'
passenger (3.0.17) lib/phusion_passenger/rack/application_spawner.rb:129:in `start'
passenger (3.0.17) lib/phusion_passenger/spawn_manager.rb:253:in `spawn_rack_application'
passenger (3.0.17) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
passenger (3.0.17) lib/phusion_passenger/spawn_manager.rb:246:in `spawn_rack_application'
passenger (3.0.17) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'
passenger (3.0.17) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
passenger (3.0.17) lib/phusion_passenger/spawn_manager.rb:244:in `spawn_rack_application'
passenger (3.0.17) lib/phusion_passenger/spawn_manager.rb:137:in `spawn_application'
passenger (3.0.17) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
passenger (3.0.17) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
passenger (3.0.17) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.17) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.17) helper-scripts/passenger-spawn-server:99

RE: Unable to edit notes/answers in issues - Added by Diego Pasqualin about 11 years ago

Where I said "Answer" button I meant "Quote" button.

RE: Unable to edit notes/answers in issues - Added by Pavel Potcheptsov about 11 years ago

Maybe you should try:
- to clear cache of your browser,
- rake generate_secret_token
- rake tmp:cache:clear
- rake tmp:sessions:clear
- restart redmine
but I'm not sure. In my case the issue was with nginx:
http://www.redmine.org/issues/11005#note-11

RE: Unable to edit notes/answers in issues - Added by Diego Pasqualin about 11 years ago

Thank you Pavel, but it didn't work, got the same error here.

RE: Unable to edit notes/answers in issues - Added by Pavel Potcheptsov about 11 years ago

Could you try to make:
1)svn co last RM to separate folder
2)configure database.yml to new db "rm2" for example
3)create new db "rm2"
4)I think you still have mysql db from 1.3, so mysqldump it to rm13.sql
5)import rm13 to rm2 and maybe grant privileges again
6)proceed upgrade guide, i.e. generate secret and rake database migrate.

try to use webrick first for debug.

    (1-8/8)