Defect #18429

Error raised on project settings after project wiki is deleted

Added by Cloud Zhong almost 3 years ago. Updated almost 3 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Project settings
Target version:-
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,
2: :as => :wiki,
3: :url => { :controller => 'wikis', :action => 'edit', : id => @project },
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 err... Closed
Related to Redmine - Feature #14534: Upgrade to Rails 4.2 Closed

Associated revisions

Revision 13660
Added by Jean-Philippe Lang almost 3 years ago

Error raised on project settings after project wiki is deleted (#18429).

History

#1 Updated by Cloud Zhong almost 3 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

#2 Updated by Toshi MARUYAMA almost 3 years ago

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

#3 Updated by Toshi MARUYAMA almost 3 years ago

  • Target version set to 3.0.0

#4 Updated by Toshi MARUYAMA almost 3 years ago

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

#5 Updated by Jean-Philippe Lang almost 3 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.

#6 Updated by Jean-Philippe Lang almost 3 years ago

  • Status changed from Resolved to Closed
  • Target version changed from 2.6.1 to 3.0.0

#7 Updated by Toshi MARUYAMA almost 3 years ago

  • Target version deleted (3.0.0)

This issue is not needed in ChangeLog.

#8 Updated by Jean-Philippe Lang almost 3 years ago

Also available in: Atom PDF