Project

General

Profile

Actions

Bug #2513

open

wiki#export (ActionView::Template::Error) "undefined method `[]' for nil:NilClass\n\n ...

Added by liaham 6 months ago. Updated 5 months ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Affected Version:
Compatible Redmine Version:
n/a

Description

An ActionView::Template::Error occurred in wiki#export:



  undefined method `[]' for nil:NilClass



              annots << sprintf(' /Dest [%d 0 R /XYZ 0 %.2f null]', 1 + (2 * l[0]), @pagedim[l[0]]['h'] - (l[1] * @k))

                                                                              ^^^


  lib/redmine/export/pdf/wiki_pdf_helper.rb:38:in `wiki_pages_to_pdf'

  app/views/wiki/export.pdf.erb:1

  lib/redmine/sudo_mode.rb:61:in `sudo_mode'

  plugins/redmine_dmsf/lib/redmine_dmsf/webdav/custom_middleware.rb:56:in `call'

  • Parameters : {"controller"=>"wiki", "action"=>"export", "project_id"=>"some-project", "format"=>"pdf"}
Actions

Also available in: Atom PDF