Project

General

Profile

Actions

Defect #7038

closed

can't open project page with r4460

Added by Alex Last over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-12-03
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

updated Redmine code to the latest trunk version (r4460) and can't open the project page anymore:

URL: http://172.17.10.37:3000/projects/rw?jump=welcome

Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your redMine administrator for assistance.
Back
Processing ProjectsController#show (for 172.17.10.62 at 2010-12-03 10:49:56) [GET]
  Parameters: {"jump"=>"welcome", "action"=>"show", "id"=>"rw", "controller"=>"projects"}
Rendering projects/show

ActionView::TemplateError (No builder for format ) on line #1 of app/views/projects/show.apit:
1: api.project do
2:   api.id          @project.id
3:   api.name        @project.name
4:   api.identifier  @project.identifier

    lib/redmine/views/builders.rb:25:in `for'
    app/views/projects/show.apit:1:in `_run_apit_app47views47projects47show46apit'
    app/controllers/projects_controller.rb:166:in `show'
    /usr/lib/ruby/1.8/mongrel/rails.rb:76:in `process'
    /usr/lib/ruby/1.8/mongrel/rails.rb:74:in `synchronize'
    /usr/lib/ruby/1.8/mongrel/rails.rb:74:in `process'
    /usr/lib/ruby/1.8/mongrel.rb:159:in `process_client'
    /usr/lib/ruby/1.8/mongrel.rb:158:in `each'
    /usr/lib/ruby/1.8/mongrel.rb:158:in `process_client'
    /usr/lib/ruby/1.8/mongrel.rb:285:in `run'
    /usr/lib/ruby/1.8/mongrel.rb:285:in `initialize'
    /usr/lib/ruby/1.8/mongrel.rb:285:in `new'
    /usr/lib/ruby/1.8/mongrel.rb:285:in `run'
    /usr/lib/ruby/1.8/mongrel.rb:268:in `initialize'
    /usr/lib/ruby/1.8/mongrel.rb:268:in `new'
    /usr/lib/ruby/1.8/mongrel.rb:268:in `run'
    /usr/lib/ruby/1.8/mongrel/configurator.rb:282:in `run'
    /usr/lib/ruby/1.8/mongrel/configurator.rb:281:in `each'
    /usr/lib/ruby/1.8/mongrel/configurator.rb:281:in `run'
    /usr/lib/ruby/1.8/mongrel/command.rb:212:in `run'

Rendering /opt/redmine/public/500.html (500 Internal Server Error)


Related issues

Has duplicate Redmine - Defect #7045: links broken after upgrade 1.0.4.devel.4465 (MySQL)Closed2010-12-04

Actions
Has duplicate Redmine - Defect #7041: r4460 - User activity page throws 500 ErrorClosed2010-12-04

Actions
Actions #1

Updated by Jean-Philippe Lang over 13 years ago

I can't reproduce this problem, but it looks like the api template is used instead of show.rhtml to render the html response.
Can you try to rename show.rhtml (in app/views/projects/) to show.html.erb and restart?

Actions #2

Updated by Jean-Philippe Lang over 13 years ago

This should be fixed by r4466. Please, confirm.

Actions #3

Updated by Alex Last over 13 years ago

Thanks a lot, r4466 solves the problem.

Actions #4

Updated by Jean-Philippe Lang over 13 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Thanks for the feedback.

Actions

Also available in: Atom PDF