Project

General

Profile

Actions

Defect #135

closed

Error when saving a wiki page

Added by Nicolas Chuche about 17 years ago. Updated about 17 years ago.

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

0%

Estimated time:
Resolution:
Affected version:

Description

1. create a fresh redmine install from trunk
2. rake db:migrate
3. rake redmine:load_default_data
3. login as admin
4. create a project "myproject"
5. edit this project in the wiki configuration sub tab, save a new "start page" Start
6. go in the wiki tab (you must reload the page to see it), just try to save the new wiki homepage and BOOM (see attachment
for more information) :

Showing app/views/wiki/_content.rhtml where line #2 raised:

You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.<<

Extracted source (around line #2):

1: <div class="wiki">
2: <%= textilizable content.text, :attachments => content.page.attachments %>
3: </div>

I've tried this with redmine Rev. 859 and rails 1.2.4/1.2.5.


Files

development.log.gz (10.3 KB) development.log.gz Nicolas Chuche, 2008-02-03 10:52
Actions #1

Updated by Nicolas Chuche about 17 years ago

Hum, that was a problem between the seat and the keyboard (me).

Actions

Also available in: Atom PDF