rla for redmine 1.1

Bug #788154 reported by neffets
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Redmine Local Avatars Plugin
New
High
Luca Pireddu

Bug Description

RAILS_ENV="development" rake db:migrate
(in /srv/www/prod.redmine)
initializer
config
rake aborted!
undefined method `avatar' for module `Rails::Plugin::ApplicationHelper'
/srv/www/prod.redmine/Rakefile:10

The "avatar" method is declared in lib/my_controller_patch.rb

We use redmine 1.1-stable

Tags: redmine-1.1

Related branches

Revision history for this message
Luca Pireddu (pireddu) wrote :

I don't have redmine 1.1 installed to debug this problem. Would you be willing to submit a patch?

Changed in redminelocalavatars:
assignee: nobody → Luca Pireddu (pireddu)
Luca Pireddu (pireddu)
Changed in redminelocalavatars:
importance: Undecided → High
Revision history for this message
neffets (2-launchpad-net-neffets-de) wrote :

We have it working for redmine 1.1.3.stable.5901

I dont know anymore where the source came from, so i zipped the whole plugin together, see attachement.

2 notes:
1) read README.rdoc there is a needed patch for redmine/app/views/my/account.rhtml, because trhe normal user-profile page have no multipart formular, but this is needed for file-upload.
2) There is a DB-difference in storing the Avatar-Image into the DB:
The avatar-image is stored in the normal asset-directory in the normal redmine attachement table.
Its recognized by:
 * description="avatar"
 * container_id = user.id
 * container_type = "Principal" !! here former versions semms to use "User", we had to change it manual in the DB

sts

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.