[prev in list] [next in list] [prev in thread] [next in thread] 

List:       markus-dev
Subject:    Current MarkUs bug
From:       Karen Reid <reid () cs ! utoronto ! ca>
Date:       2010-09-28 14:49:57
Message-ID: 71BC9ACB-2533-4D40-A388-62EE94EA2354 () cs ! utoronto ! ca
[Download RAW message or body]

Hi,

Anton was able to replicate bug on his machine and found a one line patch.  He thinks \
that the database should be okay.

I know you don't normally like to apply patches, but this bug has me stalled on an \
assignment right now, and I don't think we have collected together enough other bug \
fixes to make a new release.

Thanks,
Karen
 


["markus_0.9.1.patch" (markus_0.9.1.patch)]

Index: app/models/grouping.rb
===================================================================
--- app/models/grouping.rb	(revision 1426)
+++ app/models/grouping.rb	(working copy)
@@ -23,7 +23,7 @@
   #The first submission found that satisfies submission_version_used == true.
   #If there are multiple such submissions, one is chosen randomly.
   has_one :current_submission_used, :class_name => 'Submission', :conditions => \
                {:submission_version_used => true}
-  has_many :grace_period_deductions, :through => :non_rejected_student_memberships, \
:include => :non_rejected_student_memberships +  has_many :grace_period_deductions, \
:through => :non_rejected_student_memberships  
   has_many :tokens
 
Index: app/MARKUS_VERSION
===================================================================
--- app/MARKUS_VERSION	(revision 1426)
+++ app/MARKUS_VERSION	(working copy)
@@ -1 +1 @@
-VERSION=0.9,PATCH_LEVEL=0
+VERSION=0.9,PATCH_LEVEL=1



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic