#404: Can't see blog of a profile with own domain

Type: BugItem Feature: Blog, Infrastructure Tags: colivre
ScheduledFor: 0.30.2 Assigned to: Nobody Task Points:  
Priority: 10 Status: Rejected  

Description of the bug

Resolved by: AI:1465

Processing ContentViewerController#view_page (for 127.0.0.1 at 2011-04-15 15:02:04) [GET]

  Parameters: {"action"=>"view_page", "page"=>["blog"], "controller"=>"content_viewer"}
  HTTP Referer: 
  User Agent: Mozilla/5.0 (X11; U; Linux i686; pt-BR; rv:1.9.1.18) Gecko/20110324 Iceweasel/3.5.18 (like Firefox/3.5.18)
  Accept-Language: pt-br
Rendering template within layouts/application-ng
Rendering content_viewer/view_page


ActionView::TemplateError (No route matches {:controller=>"profile", :action=>"profile_info", :block_id=>28}) on line #23 of blocks/profile_image.rhtml:
20: 
21: </div><!-- end class="vcard" -->
22: <script type="text/javascript">
23:   <%= remote_function :url => { :controller => 'profile', :action => 'profile_info', :block_id => block.id } %>
24: </script>

    vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:368:in `generate'
    vendor/rails/actionpack/lib/action_controller/url_rewriter.rb:131:in `rewrite_path'
    vendor/rails/actionpack/lib/action_controller/url_rewriter.rb:110:in `rewrite_url'
    vendor/rails/actionpack/lib/action_controller/url_rewriter.rb:88:in `rewrite'
    vendor/rails/actionpack/lib/action_controller/base.rb:621:in `url_for'
    vendor/rails/actionpack/lib/action_view/helpers/url_helper.rb:71:in `send'
    vendor/rails/actionpack/lib/action_view/helpers/url_helper.rb:71:in `url_for'
    vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb:461:in `remote_function'
    app/views/blocks/profile_image.rhtml:23:in `_run_erb_47app47views47blocks47profile_image46rhtml'
    vendor/rails/actionpack/lib/action_view/base.rb:338:in `send'
    vendor/rails/actionpack/lib/action_view/base.rb:338:in `execute'
    vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `send'
    vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `render'
    vendor/rails/actionpack/lib/action_view/template.rb:35:in `render'
    vendor/rails/actionpack/lib/action_view/template.rb:22:in `render_template'
    vendor/rails/actionpack/lib/action_view/base.rb:245:in `render_file'
    vendor/rails/actionpack/lib/action_view/base.rb:269:in `render'
    app/models/profile_image_block.rb:17:in `content'
    app/helpers/boxes_helper.rb:129:in `instance_eval'
    app/helpers/boxes_helper.rb:129:in `extract_block_content'
    app/helpers/boxes_helper.rb:86:in `display_block_content'
    app/views/shared/block.rhtml:6:in `_run_erb_47app47views47shared47block46rhtml'
    vendor/rails/actionpack/lib/action_view/base.rb:338:in `send'
    vendor/rails/actionpack/lib/action_view/base.rb:338:in `execute'
    vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `send'
    vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `render'
    vendor/rails/actionpack/lib/action_view/template.rb:35:in `render'
    vendor/rails/actionpack/lib/action_view/template.rb:22:in `render_template'
    vendor/rails/actionpack/lib/action_view/base.rb:245:in `render_file'
    vendor/rails/actionpack/lib/action_view/base.rb:269:in `render'
    app/helpers/boxes_helper.rb:77:in `display_block'
    app/helpers/boxes_helper.rb:69:in `display_box_content'
    app/helpers/boxes_helper.rb:69:in `map'
    app/helpers/boxes_helper.rb:69:in `display_box_content'
    app/helpers/boxes_helper.rb:58:in `display_box'
    app/helpers/boxes_helper.rb:43:in `display_boxes'
    app/helpers/boxes_helper.rb:43:in `map'
    app/helpers/boxes_helper.rb:43:in `display_boxes'
    app/helpers/boxes_helper.rb:9:in `insert_boxes'
    app/views/layouts/application-ng.rhtml:68:in `_run_erb_47app47views47layouts47application45ng46rhtml'


Rendering /usr/share/noosfero/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb (internal_server_error)

Steps to reproduce

  1. Configure a profile with own domain
  2. Try to visualize blog
  3. step 3

Testing environment

-- JoenioCosta -- 15 Apr 2011

Add comment
You need to login to be able to comment.
 

ActionItemForm edit

Title Can't see blog of a profile with own domain
ActionItemType? BugItem
Priority 10
Tags colivre
Feature Blog, Infrastructure
TaskPoints?
ResponsibleDevelopers Nobody
ScheduledFor? 0.30.2
AffectsVersion?
Status Rejected
Ticket SAC:
Topic revision: r2 - 09 May 2011 - 19:17:23 - JoenioCosta

irc Talk with Devs Now!

 
Translations: English
Search on Docs:
   
ActionItem Search:

Copyright © 2007-2014 by the Noosfero contributors
Colivre - Cooperativa de Tecnologias Livres