I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Extended profile plugin was conflict with Author plugin mayby...

Added by Ki Won Kim almost 13 years ago

Remove Author plugin then work well.
and all profile value are configured.
facebook value is xyz37

Logs are below.

ActionView::TemplateError (undefined method `match' for nil:NilClass) on line #28 of vendor/plugins/extended_profile/app/views/extended_profile/_author.rhtml:
25:       <%= link_to(image_tag('blog.png', :plugin => 'extended_profile'), link) %>
26:     <% end %>
27:     <% if facebook %>
28:       <% link = facebook.value.match(%r{^[0-9]+$}) ? "http://www.facebook.com/profile.php?id=#{facebook.value}" : "http://www.facebook.com/#{facebook.value}" %>
29:       <%= link_to(image_tag('facebook.png', :plugin => 'extended_profile'), link) %>
30:     <% end %>
31:     <% if twitter %>

    vendor/plugins/extended_profile/app/views/extended_profile/_author.rhtml:28:in `_run_rhtml_vendor47plugins47extended_profile47app47views47extended_profile47_author46rhtml_locals_author_controller_count_object_project_request_user'
    lib/redmine/hook.rb:113:in `send'
    lib/redmine/hook.rb:113:in `view_sidebar_author_box_bottom'
    lib/redmine/hook.rb:63:in `send'
    lib/redmine/hook.rb:63:in `call_hook'
    lib/redmine/hook.rb:63:in `each'
    lib/redmine/hook.rb:63:in `call_hook'
    lib/redmine/hook.rb:60:in `tap'
    lib/redmine/hook.rb:60:in `call_hook'
    lib/redmine/hook.rb:144:in `call_hook'
    vendor/plugins/author/app/views/author/_profile.rhtml:17:in `_run_rhtml_vendor47plugins47author47app47views47author47_profile46rhtml_locals_controller_object_profile_project_request'
    vendor/plugins/author/app/views/author/_profile.rhtml:11:in `each'
    vendor/plugins/author/app/views/author/_profile.rhtml:11:in `_run_rhtml_vendor47plugins47author47app47views47author47_profile46rhtml_locals_controller_object_profile_project_request'
    lib/redmine/hook.rb:113:in `send'
    lib/redmine/hook.rb:113:in `view_layouts_base_sidebar'
    lib/redmine/hook.rb:63:in `send'
    lib/redmine/hook.rb:63:in `call_hook'
    lib/redmine/hook.rb:63:in `each'
    lib/redmine/hook.rb:63:in `call_hook'
    lib/redmine/hook.rb:60:in `tap'
    lib/redmine/hook.rb:60:in `call_hook'
    lib/redmine/hook.rb:144:in `call_hook'
    app/views/layouts/base.html.erb:64
    app/controllers/projects_controller.rb:168:in `show'
    config/initializers/mongrel.rb:62:in `dispatch_cgi'

Rendering D:/CI/Redmine/public/500.html (500 Internal Server Error)

Replies (2)

RE: Extended profile plugin was conflict with Author plugin mayby... - Added by Ki Won Kim almost 13 years ago

Ki Won Kim wrote:

Remove Author plugin then work well.
and all profile value are configured.
facebook value is xyz37

Logs are below.

[...]

I found the reason.
Author Box is assigned to a Developer role,
and project overview page was not rendering above errors.
And that’s person whose Developer role were not Extended Profile settings.

Then I change Author Box assign to Administrator role, work fine.

Thank you, and fix it.

    (1-2/2)

    Terms of use | Privacy policy