kekshd / keks

an elearning system with basic answer types yes/no/matrix
http://keks.uni-hd.de
ISC License
10 stars 4 forks source link

Export Seite kaputt (nicht ultra wichtig) #88

Closed beccy closed 11 years ago

beccy commented 11 years ago

Wenn es mit wenig Aufwand geht, hätten wir sie nächstes Semester gerne noch. z.B. zum Fragen suchen oder so.

https://keks-dev.yrden.de/admin/export

NoMethodError in Admin#export

Showing /srv/keks/app/views/questions/_render_review.html.erb where line #1 raised:

undefined method `text' for nil:NilClass

Extracted source (around line #1):

1: %=render_tex(@question.text)%

2: 3: <% if question.hints.any? %> 4: Hinweise:

Trace of template inclusion: app/views/admin/_export_question.html.erb, app/views/admin/export.html.erb

Rails.root: /srv/keks Application Trace | Framework Trace | Full Trace

app/views/questions/_render_review.html.erb:1:in _app_views_questions__render_review_html_erb__2907194569611390597_23133920' app/views/admin/_export_question.html.erb:13:in_app_views_adminexport_question_htmlerb4584323872663053081_25535600' app/views/admin/export.html.erb:9:in block (2 levels) in _app_views_admin_export_html_erb__2744089407573728849_25331660' app/views/admin/export.html.erb:7:inblock in _app_views_admin_export_html_erb__2744089407573728849_25331660' app/views/admin/export.html.erb:3:in each' app/views/admin/export.html.erb:3:in_app_views_admin_export_html_erb__2744089407573728849_25331660'

Request

Parameters:

None

Show session dump

Show env dump Response

Headers:

None