Skip to content
New issue

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

Compatible with Redmine 2.x #1

Open
logical-and opened this issue Jun 30, 2012 · 2 comments
Open

Compatible with Redmine 2.x #1

logical-and opened this issue Jun 30, 2012 · 2 comments

Comments

@logical-and
Copy link

Thanks for the plugin upgrade!

I found 2 bugs, could you, please, close it?

When I close to user page to view profile (not edit). Url like /users/4

 Member Load (0.3ms)  SELECT `members`.* FROM `members` WHERE `members`.`user_id` = 4 AND (projects.status=1)
Mysql2::Error: Unknown column 'projects.status' in 'where clause': SELECT `members`.* FROM `members`  WHERE `members`.`user_id` = 4 AND (projects.status=1)
Completed 500 Internal Server Error in 6ms

ActiveRecord::StatementInvalid (Mysql2::Error: Unknown column 'projects.status' in 'where clause': SELECT `members`.* FROM `members`  WHERE `members`.`user_id` = 4 AND (projects.status=1)):
  app/controllers/users_controller.rb:66:in `show'

Second, when I remove the avatar; Url like: /attachments/63. Trace

Started POST "/attachments/63" for 80.239.243.111 at 2012-07-01 01:43:09 +0200

ActionController::RoutingError (No route matches [POST] "/attachments/63"):
  actionpack (3.2.5) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
  actionpack (3.2.5) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  railties (3.2.5) lib/rails/rack/logger.rb:26:in `call_app'
  railties (3.2.5) lib/rails/rack/logger.rb:16:in `call'
  actionpack (3.2.5) lib/action_dispatch/middleware/request_id.rb:22:in `call'
  rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
  rack (1.4.1) lib/rack/runtime.rb:17:in `call'
  activesupport (3.2.5) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  rack (1.4.1) lib/rack/lock.rb:15:in `call'
  actionpack (3.2.5) 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.5) lib/rails/engine.rb:479:in `call'
  railties (3.2.5) lib/rails/application.rb:220:in `call'
  rack (1.4.1) lib/rack/content_length.rb:14:in `call'
  railties (3.2.5) lib/rails/rack/log_tailer.rb:17:in `call'
  rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
  /usr/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
  /usr/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
  /usr/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'

Thanks!

@mikoto20000
Copy link
Member

Cloud you try redmine-2.0.x branch?
This branch almost work. But avatar configuration on user settings is not wok yet.

@logical-and
Copy link
Author

Actually, now I use luckval@ec0bcd4 , and it work as expected on redmine 2.x. . Try to merge it with your branch, and it may fix error, I have reported.

If you need any my help (testing, for ex.) tell, I help you with.

Offtopic:
User avatar can be static content?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants