Ignore:
Timestamp:
17 Sep 2020, 07:34:46 (4 years ago)
Author:
Henrik Bettermann
Message:

Don't allow the total outcome of course grade exceed 100 (ie if CA + Score > 100, return "total score is greater than 100").

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py

    r16143 r16240  
    10761076                    imported_ts = int(formvals[sid][2])
    10771077            except ValueError:
     1078                error += '%s, ' % ticket.student.display_fullname
     1079                ticket_error = True
     1080            if score and ca and not ticket_error and score + ca > 100:
    10781081                error += '%s, ' % ticket.student.display_fullname
    10791082                ticket_error = True
Note: See TracChangeset for help on using the changeset viewer.