Index: main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py
===================================================================
--- main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py	(revision 14112)
+++ main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py	(revision 14113)
@@ -22,4 +22,5 @@
 from zope.i18n import translate
 from zope.component import getUtility, queryUtility
+from zope.schema.interfaces import TooBig, TooSmall
 from zope.security import checkPermission
 from zope.catalog.interfaces import ICatalog
@@ -699,5 +700,10 @@
                 ticket_error = True
             if not ticket_error and ticket.score != score:
-                ticket.score = score
+                try:
+                    ticket.score = score
+                except TooBig:
+                    error += '%s, ' % ticket.student.display_fullname
+                    ticket_error = True
+                    pass
                 ticket.student.__parent__.logger.info(
                     '%s - %s %s/%s score updated (%s)' %
@@ -705,5 +711,9 @@
                      ticket.level, ticket.code, score))
             if not ticket_error and ticket.ca != ca:
-                ticket.ca = ca
+                try:
+                    ticket.ca = ca
+                except TooBig:
+                    error += '%s, ' % ticket.student.display_fullname
+                    pass
                 ticket.student.__parent__.logger.info(
                     '%s - %s %s/%s ca updated (%s)' %
@@ -712,6 +722,5 @@
         if error:
             self.flash(_('Error: Score(s) and CA(s) of %s have not be updated. '
-              'Only integers are allowed.' % error.strip(', ')),
-              type="danger")
+              % error.strip(', ')), type="danger")
             return
         self.flash(_('You successfully updated course results.'))
Index: main/waeup.aaue/trunk/src/waeup/aaue/students/interfaces.py
===================================================================
--- main/waeup.aaue/trunk/src/waeup/aaue/students/interfaces.py	(revision 14112)
+++ main/waeup.aaue/trunk/src/waeup/aaue/students/interfaces.py	(revision 14113)
@@ -333,4 +333,11 @@
     """
 
+    score = schema.Int(
+        title = _(u'Score'),
+        required = False,
+        readonly = False,
+        max = 70,
+        )
+
     ca = schema.Int(
         title = _(u'CA'),
@@ -338,4 +345,5 @@
         required = False,
         missing_value = None,
+        max = 30,
         )
 
@@ -347,4 +355,5 @@
         required = False,
         readonly = False,
+        max = 70,
         )
 
@@ -353,4 +362,5 @@
         required = False,
         readonly = False,
+        max = 30,
         )
 
