Project

General

Profile

Actions

Defect #18429

closed

Error raised on project settings after project wiki is deleted

Added by Cloud Zhong over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Project settings
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

I do the following things.
go to project settings wiki , click delete button.

and then , the project wiki tab disappear.

and I can not go to this project settings.

I still can see other project's wiki and settings.

Completed 500 Internal Server Error in 70ms

ActionView::Template::Error (First argument in form cannot contain nil or be emp ty):
1: <%= labelled_form_for wiki wiki,
2: :as => :wiki,
3: :url => { :controller => 'wikis', :action => 'edit', : id => Herve Harster },
4: :remote => true, :method => 'post' do |f| %>
app/helpers/application_helper.rb:1047:in `labelled_form_for'
app/views/projects/settings/_wiki.html.erb:1:in `_app_views_projects_settings_ wiki_html_erb_2849060791824469656_70013448407720'
app/views/common/_tabs.html.erb:22:in `block in app_views_common_tabs_html_e rb___1457674944382063957_70013446561960'
app/views/common/_tabs.html.erb:21:in `each'
app/views/common/_tabs.html.erb:21:in `_app_views_common__tabs_html_erb___1457 674944382063957_70013446561960'
app/helpers/application_helper.rb:324:in `render_tabs'
app/views/projects/settings.html.erb:3:in `_app_views_projects_settings_html_e rb___493241672892030800_70013446548560'


Related issues

Related to Redmine - Defect #18275: First argument in form cannot contain nil or be empty error on revision viewClosedJean-Philippe Lang

Actions
Related to Redmine - Feature #14534: Upgrade to Rails 4.2ClosedJean-Philippe Lang

Actions
Actions #1

Updated by Cloud Zhong over 9 years ago

I updated to the lastest trunk version.

Environment:
Redmine version 2.6.0.devel.13648
Ruby version 2.1.5-p273 (2014-11-13) [x86_64-linux]
Rails version 4.1.8
Environment production
Database adapter PostgreSQL
SCM:
Subversion 1.6.11
Git 1.7.1
Filesystem
Redmine plugins:
no plugin installed

Actions #2

Updated by Toshi MARUYAMA over 9 years ago

If you don't intend to hack trunk, please use stable instead.

Actions #3

Updated by Toshi MARUYAMA over 9 years ago

  • Target version set to 3.0.0
Actions #4

Updated by Toshi MARUYAMA over 9 years ago

  • Related to Defect #18275: First argument in form cannot contain nil or be empty error on revision view added
Actions #5

Updated by Jean-Philippe Lang over 9 years ago

  • Subject changed from go to project settings, encounter Internal error to Error raised on project settings after project wiki is deleted
  • Category set to Project settings
  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Target version changed from 3.0.0 to 2.6.1
  • Resolution set to Fixed

Fixed by r13660, thanks for reporting this.

Actions #6

Updated by Jean-Philippe Lang over 9 years ago

  • Status changed from Resolved to Closed
  • Target version changed from 2.6.1 to 3.0.0
Actions #7

Updated by Toshi MARUYAMA over 9 years ago

  • Target version deleted (3.0.0)

This issue is not needed in ChangeLog.

Actions #8

Updated by Jean-Philippe Lang over 9 years ago

Actions

Also available in: Atom PDF