lml / ost

OpenStax Tutor
Other
7 stars 8 forks source link

Issue in roster? #140

Closed kjdav closed 11 years ago

kjdav commented 11 years ago

Clicked on student's name in Roster and got a Yikes! message.

jpslav commented 11 years ago

In the live roster (real site) or development?

On Nov 2, 2012, at 12:16 PM, Kim Davenport notifications@github.com wrote:

Clicked on student's name in Roster and got a Yikes! message.

— Reply to this email directly or view it on GitHub.

kjdav commented 11 years ago

real site

On Fri, Nov 2, 2012 at 3:21 PM, JP Slavinsky notifications@github.comwrote:

In the live roster (real site) or development?

On Nov 2, 2012, at 12:16 PM, Kim Davenport notifications@github.com wrote:

Clicked on student's name in Roster and got a Yikes! message.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/lml/ost/issues/140#issuecomment-10027106.

jpslav commented 11 years ago

@kevinburleigh75 this issue relates to the exception I just sent you.

On Nov 2, 2012, at 12:16 PM, Kim Davenport notifications@github.com wrote:

Clicked on student's name in Roster and got a Yikes! message.

— Reply to this email directly or view it on GitHub.

kevinburleigh75 commented 11 years ago

Due to what appears to be database corruption incurred during manual cleanup of an active class, some StudentAssignments no longer have associated Assignments (specifically, StudentAssignments for those Students who viewed the retracted Assignment prior to the retraction). This is causing the Student show page to fault with the error below.

The database has been cleaned up, so patch #142 is no longer necessary. This issue can be closed.

Exception: #

Backtrace:

app/views/students/show.html.erb:19:in block (2 levels) in _app_views_students_show_html_erb_723338121_95942120' app/views/students/show.html.erb:18:inblock in app_views_students_show_html_erb723338121_95942120' app/helpers/application_helper.rb:46:in block_to_partial' app/helpers/application_helper.rb:95:insection' app/views/students/show.html.erb:16:in `_app_views_students_show_html_erb___723338121_95942120'

jpslav commented 11 years ago

We fixed the database issue, thanks @kevinburleigh75