Defect #135
closedError when saving a wiki page
0%
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
Updated by Nicolas Chuche about 17 years ago
Hum, that was a problem between the seat and the keyboard (me).